pub struct Lock {
pub id: String,
pub name: String,
pub state: LockState,
pub desired_state: LockState,
pub low_battery: bool,
pub malfunction: bool,
pub attributes: LockAttributes,
}Expand description
A lock device.
Fields§
§id: String§name: String§state: LockState§desired_state: LockState§low_battery: bool§malfunction: bool§attributes: LockAttributesImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lock
impl RefUnwindSafe for Lock
impl Send for Lock
impl Sync for Lock
impl Unpin for Lock
impl UnsafeUnpin for Lock
impl UnwindSafe for Lock
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