pub struct Login {
pub anonymous: Option<bool>,
pub button: Option<bool>,
pub default_password: Option<bool>,
pub two_factor: Option<bool>,
}Expand description
How the login to the device is protected. Values the device does not
report are None.
Fields§
§anonymous: Option<bool>Whether the login without a password is allowed.
Whether the login by a button press on the device is allowed.
default_password: Option<bool>Whether the password set at the factory is still active.
two_factor: Option<bool>Whether changes need a confirmation on the device.
Trait Implementations§
impl Eq for Login
impl StructuralPartialEq for Login
Auto Trait Implementations§
impl Forget for Login
impl Freeze for Login
impl Move for Login
impl RefUnwindSafe for Login
impl Send for Login
impl Sync for Login
impl Unpin for Login
impl UnsafeUnpin for Login
impl UnwindSafe for Login
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