#[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,6 +1,18 @@
 #[derive(Deserialize)]
 pub struct Config {
-    hostname: String,
-    username: String,
-    password: String,
+    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
+    }
+}
:art: Change property scope to public

