Struct tests_migrate::Settings [−][src]
pub struct Settings {
pub debug: bool,
pub commercial: bool,
pub database: Database,
pub redis: Option<Redis>,
pub server: Server,
pub pow: Captcha,
pub source_code: String,
pub smtp: Option<Smtp>,
pub allow_registration: bool,
pub allow_demo: bool,
}Fields
debug: boolcommercial: booldatabase: Databaseredis: Option<Redis>server: Serverpow: Captchasource_code: Stringsmtp: Option<Smtp>allow_registration: boolallow_demo: boolImplementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more