pub struct User {
pub id: UserId,
pub display_name: UserDisplayName,
pub created_at: Instant,
pub updated_at: Instant,
pub identities: Vec<HfestIdentity>,
pub is_administrator: bool,
pub is_tester: bool,
}Fields§
§id: UserId§display_name: UserDisplayName§created_at: Instant§updated_at: Instant§identities: Vec<HfestIdentity>§is_administrator: bool§is_tester: boolTrait Implementations§
impl Eq for User
Source§impl Ord for User
impl Ord for User
1.21.0 (const: unstable) · 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 PartialOrd for User
impl PartialOrd for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnsafeUnpin for User
impl UnwindSafe for User
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.