pub struct LdapConfig {
pub server_url: String,
pub bind_dn: String,
pub bind_password: String,
pub user_search_base: String,
pub user_search_filter: String,
}Expand description
LDAP configuration
Fields§
§server_url: String§bind_dn: String§bind_password: String§user_search_base: String§user_search_filter: StringTrait 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