Struct etwin_core::user::CompleteUser
source · pub struct CompleteUser {
pub id: UserId,
pub created_at: 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
§display_name: UserDisplayNameVersions
§is_administrator: bool
§links: VersionedLinks
§username: Option<Username>
§email_address: Option<EmailAddress>
§has_password: bool
Trait Implementations§
source§impl Clone for CompleteUser
impl Clone for CompleteUser
source§fn clone(&self) -> CompleteUser
fn clone(&self) -> CompleteUser
Returns a copy 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<CompleteUser> for CompleteUser
impl PartialEq<CompleteUser> for CompleteUser
source§fn eq(&self, other: &CompleteUser) -> bool
fn eq(&self, other: &CompleteUser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CompleteUser> for CompleteUser
impl PartialOrd<CompleteUser> for CompleteUser
source§fn partial_cmp(&self, other: &CompleteUser) -> Option<Ordering>
fn partial_cmp(&self, other: &CompleteUser) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more