INNER CODE UNIT · Rust
new
Trow-Registry/trow · src/lib.rs:53
pub fn new(cert_file: String, key_file: String) -> Self {
Self {
cert_file,
key_file,
}
}
}
#[derive(Clone, Debug)]
struct UserConfig {
user: String,
hash_encoded: String, //Surprised not bytes
}
#[derive(Debug, Clone)]
pub struct TrowConfig {
pub data_dir: PathBuf,
pub service_name: String,