pub struct LdapConfig {
pub enabled: bool,
pub servers: Option<Vec<LdapServer>>,
pub cache_refresh_interval: Option<u32>,
pub authentication_query_suffix: Option<String>,
pub authorization_query_suffix: Option<String>,
pub bind_dn: Option<String>,
pub bind_pass: Option<String>,
pub extra: Value,
}
Expand description
LDAP configuration
Fields§
§enabled: bool
§servers: Option<Vec<LdapServer>>
§cache_refresh_interval: Option<u32>
§authentication_query_suffix: Option<String>
§bind_dn: Option<String>
§bind_pass: Option<String>
§extra: Value
Trait Implementations§
Source§impl Clone for LdapConfig
impl Clone for LdapConfig
Source§fn clone(&self) -> LdapConfig
fn clone(&self) -> LdapConfig
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 LdapConfig
impl Debug for LdapConfig
Source§impl<'de> Deserialize<'de> for LdapConfig
impl<'de> Deserialize<'de> for LdapConfig
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 LdapConfig
impl RefUnwindSafe for LdapConfig
impl Send for LdapConfig
impl Sync for LdapConfig
impl Unpin for LdapConfig
impl UnwindSafe for LdapConfig
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