Trait ConfigInterface

Source
pub trait ConfigInterface: Send + Sync {
    // Required methods
    fn service_bind(&self) -> SocketAddr;
    fn swagger_ui_enabled(&self) -> bool;
    fn turnstile_secret_key(&self) -> &str;
    fn email_from_name(&self) -> &str;
    fn email_from_address(&self) -> &str;
    fn dashboard_origin(&self) -> Option<&Url>;
    fn timeout_config(&self) -> TimeoutConfig;
    fn google_oauth2_config(&self) -> GoogleOAuth2Config<'_>;
}

Required Methods§

Implementors§