summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 668dda7..f03a09b 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -3,9 +3,13 @@ use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Config {
+ /// The ID for every italian person, it's used from Smartedu as username
pub cf: String,
+ /// The password of Smartedu
pub password: String,
+ /// Driver url, an example is `http://localhost:4444` for geckodriver
pub driver_url: String,
+ /// Username of the Telegram user authorized to use the bot
pub username: String,
}