pub struct LdapMapping {
pub uid: u32,
pub name: String,
pub dn: String,
pub role: String,
pub email: Option<String>,
pub role_uids: Option<Vec<u32>>,
pub extra: Value,
}
Expand description
LDAP mapping information
Fields§
§uid: u32
LDAP-mapping’s unique uid
name: String
Role’s name
dn: String
An LDAP group’s distinguished name
role: String
Role identifier (deprecated, use role_uids instead)
email: Option<String>
Email address that (if set) is used for alerts
role_uids: Option<Vec<u32>>
List of role uids associated with the LDAP group
extra: Value
Trait Implementations§
Source§impl Clone for LdapMapping
impl Clone for LdapMapping
Source§fn clone(&self) -> LdapMapping
fn clone(&self) -> LdapMapping
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 LdapMapping
impl Debug for LdapMapping
Source§impl<'de> Deserialize<'de> for LdapMapping
impl<'de> Deserialize<'de> for LdapMapping
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 LdapMapping
impl RefUnwindSafe for LdapMapping
impl Send for LdapMapping
impl Sync for LdapMapping
impl Unpin for LdapMapping
impl UnwindSafe for LdapMapping
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