pub struct LdapUser {
pub username: Option<String>,
pub realname: Option<String>,
pub email: Option<String>,
}Fields§
§username: Option<String>ldap username.
realname: Option<String>The user realname from "uid" or "cn" attribute.
email: Option<String>The user email address from "mail" or "email" attribute.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LdapUser
impl<'de> Deserialize<'de> for LdapUser
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
impl StructuralPartialEq for LdapUser
Auto Trait Implementations§
impl Freeze for LdapUser
impl RefUnwindSafe for LdapUser
impl Send for LdapUser
impl Sync for LdapUser
impl Unpin for LdapUser
impl UnwindSafe for LdapUser
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