pub struct Users {
pub users: Option<Vec<User>>,
pub rights: Vec<Right>,
pub login: Login,
pub hints: Vec<String>,
}Expand description
The users and the login settings.
Fields§
§users: Option<Vec<User>>The users, or None if the device does not tell, usually because
the current user may not read them.
rights: Vec<Right>What the current user may do, like BoxAdmin: readwrite.
login: Login§hints: Vec<String>Weak settings, like default password active.
Implementations§
Trait Implementations§
impl Eq for Users
impl StructuralPartialEq for Users
Auto Trait Implementations§
impl Forget for Users
impl Freeze for Users
impl Move for Users
impl RefUnwindSafe for Users
impl Send for Users
impl Sync for Users
impl Unpin for Users
impl UnsafeUnpin for Users
impl UnwindSafe for Users
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