pub struct UserShortInfo {
pub huid: Uuid,
pub ad_login: String,
pub ad_domain: String,
pub ad_email: Option<String>,
pub name: String,
pub sync_source: SyncSource,
pub active: bool,
pub kind: UserKind,
pub company: Option<String>,
pub department: Option<String>,
pub position: Option<String>,
}Expand description
Информация о пользователе (укороченная)
Fields§
§huid: Uuid§ad_login: String§ad_domain: String§ad_email: Option<String>§name: String§sync_source: SyncSource§active: bool§kind: UserKind§company: Option<String>§department: Option<String>§position: Option<String>Trait Implementations§
Source§impl Clone for UserShortInfo
impl Clone for UserShortInfo
Source§fn clone(&self) -> UserShortInfo
fn clone(&self) -> UserShortInfo
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 UserShortInfo
impl Debug for UserShortInfo
Source§impl<'de> Deserialize<'de> for UserShortInfo
impl<'de> Deserialize<'de> for UserShortInfo
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 UserShortInfo
impl RefUnwindSafe for UserShortInfo
impl Send for UserShortInfo
impl Sync for UserShortInfo
impl Unpin for UserShortInfo
impl UnwindSafe for UserShortInfo
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