pub struct ProvidersLdapItem {
pub alternate_security_identities_attribute: Option<String>,
pub authentication: Option<bool>,
pub balance_servers: Option<bool>,
pub base_dn: String,
pub bind_dn: Option<String>,
}
Fields§
§alternate_security_identities_attribute: Option<String>
Specifies the attribute name used when searching for alternate security identities.
authentication: Option<bool>
If true, enables authentication and identity management through the authentication provider.
balance_servers: Option<bool>
If true, connects the provider to a random server.
base_dn: String
Specifies the root of the tree in which to search identities.
bind_dn: Option<String>
Specifies the distinguished name for binding to the LDAP server.
Trait Implementations§
Source§impl Debug for ProvidersLdapItem
impl Debug for ProvidersLdapItem
Source§impl<'de> Deserialize<'de> for ProvidersLdapItem
impl<'de> Deserialize<'de> for ProvidersLdapItem
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 ProvidersLdapItem
impl RefUnwindSafe for ProvidersLdapItem
impl Send for ProvidersLdapItem
impl Sync for ProvidersLdapItem
impl Unpin for ProvidersLdapItem
impl UnwindSafe for ProvidersLdapItem
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more