pub struct AuthenticationConfig {
pub enabled: bool,
pub auth_method: AuthMethod,
pub user_database: Option<String>,
pub ldap_config: Option<LdapConfig>,
}Expand description
Authentication configuration
Fields§
§enabled: bool§auth_method: AuthMethod§user_database: Option<String>§ldap_config: Option<LdapConfig>Trait Implementations§
Source§impl Clone for AuthenticationConfig
impl Clone for AuthenticationConfig
Source§fn clone(&self) -> AuthenticationConfig
fn clone(&self) -> AuthenticationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthenticationConfig
impl Debug for AuthenticationConfig
Source§impl<'de> Deserialize<'de> for AuthenticationConfig
impl<'de> Deserialize<'de> for AuthenticationConfig
Source§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 Freeze for AuthenticationConfig
impl RefUnwindSafe for AuthenticationConfig
impl Send for AuthenticationConfig
impl Sync for AuthenticationConfig
impl Unpin for AuthenticationConfig
impl UnwindSafe for AuthenticationConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more