diff options
author | Santo Cariotti <santo@dcariotti.me> | 2021-08-04 18:09:12 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2021-08-04 18:09:12 +0200 |
commit | 51ea2896cdcdf7b6027f96421a0ce2b454486e03 (patch) | |
tree | 22eaae83fd2655cad9bc477bc59ce3fb92539788 /src/config.rs | |
parent | 7c445e6458b6b209ce59ed89dbb73daa96e2199f (diff) |
docs: init adds
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
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, } |