pub struct LockAttributes {
pub state: u32,
pub desired_state: u32,
pub description: Option<String>,
pub has_permission: Option<bool>,
pub low_battery: Option<bool>,
pub critical_battery: Option<bool>,
pub malfunction: Option<bool>,
}Expand description
Lock attributes from the API.
Fields§
§state: u32§desired_state: u32§description: Option<String>§has_permission: Option<bool>§low_battery: Option<bool>§critical_battery: Option<bool>§malfunction: Option<bool>Trait Implementations§
Source§impl Clone for LockAttributes
impl Clone for LockAttributes
Source§fn clone(&self) -> LockAttributes
fn clone(&self) -> LockAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockAttributes
impl Debug for LockAttributes
Source§impl<'de> Deserialize<'de> for LockAttributes
impl<'de> Deserialize<'de> for LockAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockAttributes
impl RefUnwindSafe for LockAttributes
impl Send for LockAttributes
impl Sync for LockAttributes
impl Unpin for LockAttributes
impl UnsafeUnpin for LockAttributes
impl UnwindSafe for LockAttributes
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