pub struct ZigbeeV3Dbtzbv3Dbtzbe {
pub action: ZigbeeV3Dbtzbv3DbtzbeAction,
pub action_source_name: ZigbeeV3Dbtzbv3DbtzbeActionsourcename,
pub action_user: f64,
pub battery: f64,
pub linkquality: f64,
pub lock_state: ZigbeeV3Dbtzbv3DbtzbeLockstate,
pub state: bool,
pub last_seen: Option<LastSeen>,
pub elapsed: Option<u64>,
}Expand description
danalock:V3-BTZB/V3-BTZBE zigbee2mqtt link
Fields§
§action: ZigbeeV3Dbtzbv3DbtzbeActionTriggered action on the lock
action_source_name: ZigbeeV3Dbtzbv3DbtzbeActionsourcenameSource of the triggered action on the lock
action_user: f64ID of user that triggered the action on the lock
battery: f64Remaining battery in %, can take up to 24 hours before reported.
linkquality: f64Link quality (signal strength)
lock_state: ZigbeeV3Dbtzbv3DbtzbeLockstateActual state of the lock
state: boolZigbee herdsman description: “State of the lock” The string values get converted into boolean with: LOCK = true and UNLOCK = false
last_seen: Option<LastSeen>Optional last_seen type, set as a global zigbee2mqtt setting
elapsed: Option<u64>Optional elapsed type
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ZigbeeV3Dbtzbv3Dbtzbe
impl<'de> Deserialize<'de> for ZigbeeV3Dbtzbv3Dbtzbe
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 ZigbeeV3Dbtzbv3Dbtzbe
impl RefUnwindSafe for ZigbeeV3Dbtzbv3Dbtzbe
impl Send for ZigbeeV3Dbtzbv3Dbtzbe
impl Sync for ZigbeeV3Dbtzbv3Dbtzbe
impl Unpin for ZigbeeV3Dbtzbv3Dbtzbe
impl UnsafeUnpin for ZigbeeV3Dbtzbv3Dbtzbe
impl UnwindSafe for ZigbeeV3Dbtzbv3Dbtzbe
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