pub struct CompleteUser {
pub id: UserId,
pub created_at: Instant,
pub deleted_at: Option<Instant>,
pub display_name: UserDisplayNameVersions,
pub is_administrator: bool,
pub links: VersionedLinks,
pub username: Option<Username>,
pub email_address: Option<EmailAddress>,
pub has_password: bool,
}Fields§
§id: UserId§created_at: Instant§deleted_at: Option<Instant>§display_name: UserDisplayNameVersions§is_administrator: bool§links: VersionedLinks§username: Option<Username>§email_address: Option<EmailAddress>§has_password: boolTrait Implementations§
Source§impl Clone for CompleteUser
impl Clone for CompleteUser
Source§fn clone(&self) -> CompleteUser
fn clone(&self) -> CompleteUser
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 CompleteUser
impl Debug for CompleteUser
Source§impl Hash for CompleteUser
impl Hash for CompleteUser
Source§impl Ord for CompleteUser
impl Ord for CompleteUser
Source§fn cmp(&self, other: &CompleteUser) -> Ordering
fn cmp(&self, other: &CompleteUser) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompleteUser
impl PartialEq for CompleteUser
Source§impl PartialOrd for CompleteUser
impl PartialOrd for CompleteUser
impl Eq for CompleteUser
impl StructuralPartialEq for CompleteUser
Auto Trait Implementations§
impl Freeze for CompleteUser
impl RefUnwindSafe for CompleteUser
impl Send for CompleteUser
impl Sync for CompleteUser
impl Unpin for CompleteUser
impl UnwindSafe for CompleteUser
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