pub struct Overview {
pub model: Option<String>,
pub firmware: Option<String>,
pub uptime: Option<u64>,
pub update_available: Option<bool>,
pub two_factor: Option<bool>,
pub rights: Vec<Right>,
pub internet: Option<Connection>,
}Expand description
The device, its connection and the rights of the user.
Fields§
§model: Option<String>§firmware: Option<String>§uptime: Option<u64>Seconds since the device started.
update_available: Option<bool>§two_factor: Option<bool>Whether changes need a confirmation on the device, like a button press.
rights: Vec<Right>What the user may do, like BoxAdmin: readwrite.
internet: Option<Connection>Trait Implementations§
impl Eq for Overview
impl StructuralPartialEq for Overview
Auto Trait Implementations§
impl Forget for Overview
impl Freeze for Overview
impl Move for Overview
impl RefUnwindSafe for Overview
impl Send for Overview
impl Sync for Overview
impl Unpin for Overview
impl UnsafeUnpin for Overview
impl UnwindSafe for Overview
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