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
§name: String
§dn: String
§role: String
§email: Option<String>
§role_uids: Option<Vec<u32>>
§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