#[derive(Deserialize)]
pub struct Config {
    pub hostname: String,
    pub username: String,
    pub password: String,
}

impl Config {
    pub fn hostname(&self) -> &String {
        &self.hostname
    }
    pub fn username(&self) -> &String {
        &self.username
    }
    pub fn password(&self) -> &String {
        &self.password
    }
}
#[derive(Deserialize)]
pub struct Config {
    hostname: String,
    username: String,
    password: String,
}
--- 
+++ 
@@ -1,18 +1,6 @@
 #[derive(Deserialize)]
 pub struct Config {
-    pub hostname: String,
-    pub username: String,
-    pub password: String,
+    hostname: String,
+    username: String,
+    password: String,
 }
-
-impl Config {
-    pub fn hostname(&self) -> &String {
-        &self.hostname
-    }
-    pub fn username(&self) -> &String {
-        &self.username
-    }
-    pub fn password(&self) -> &String {
-        &self.password
-    }
-}
:art: Change property scope to public

