pub enum AccountStatus {
Active(String),
NoPassword,
NoLogin,
Unknown,
}
Expand description
Account status
Variants§
Active(String)
Account is enabled/active and password is stored in String
attached to Active
NoPassword
Account has no password
NoLogin
A regular user can’t enter that account
Unknown
Unknown status
Implementations§
Auto Trait Implementations§
impl Freeze for AccountStatus
impl RefUnwindSafe for AccountStatus
impl Send for AccountStatus
impl Sync for AccountStatus
impl Unpin for AccountStatus
impl UnwindSafe for AccountStatus
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