From 51ea2896cdcdf7b6027f96421a0ce2b454486e03 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 4 Aug 2021 18:09:12 +0200 Subject: docs: init adds --- src/config.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.rs') 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, } -- cgit v1.2.3-18-g5258