pub struct Account {
pub id: String,
pub username: String,
pub role: Role,
pub enabled: bool,
pub created_at: u64,
pub updated_at: u64,
/* private fields */
}Expand description
An account with an immutable personal-data owner and private verifier.
Fields§
§id: StringStable owner of annotations, history and collections.
username: StringCanonical lowercase login name, independent of ownership.
role: RoleInstallation privileges.
enabled: boolDisabled accounts retain their personal data and cannot authenticate.
created_at: u64Creation time in Unix seconds.
updated_at: u64Most recent administration time in Unix seconds.
Implementations§
Trait Implementations§
impl Eq for Account
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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