diff --git a/src/provider/mod.rs b/src/provider/mod.rs index 7f7174774..fc414968f 100644 --- a/src/provider/mod.rs +++ b/src/provider/mod.rs @@ -2,6 +2,7 @@ mod data; +use crate::config::Config; use crate::dc_tools::EmailAddress; use crate::provider::data::PROVIDER_DATA; @@ -57,6 +58,12 @@ impl Server { } } +#[derive(Debug)] +pub struct ConfigDefault { + pub key: Config, + pub value: &'static str, +} + #[derive(Debug)] pub struct Provider { pub status: Status, @@ -64,6 +71,7 @@ pub struct Provider { pub after_login_hint: &'static str, pub overview_page: &'static str, pub server: Vec, + pub config_defaults: Option>, } impl Provider {