pub struct ZigbeeDlmD300z {
pub action: ZigbeeDlmD300zAction,
pub action_source_name: ZigbeeDlmD300zActionsourcename,
pub action_user: f64,
pub battery: f64,
pub door_state: ZigbeeDlmD300zDoorstate,
pub linkquality: f64,
pub lock_state: ZigbeeDlmD300zLockstate,
pub state: bool,
pub last_seen: Option<LastSeen>,
pub elapsed: Option<u64>,
}
Expand description
shinasystem:DLM-300Z zigbee2mqtt link
Fields§
§action: ZigbeeDlmD300zAction
Triggered action on the lock
action_source_name: ZigbeeDlmD300zActionsourcename
Source of the triggered action on the lock
action_user: f64
ID of user that triggered the action on the lock
battery: f64
Remaining battery in %, can take up to 24 hours before reported.
door_state: ZigbeeDlmD300zDoorstate
Door status
linkquality: f64
Link quality (signal strength)
lock_state: ZigbeeDlmD300zLockstate
Actual state of the lock
state: bool
Zigbee 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 ZigbeeDlmD300z
impl<'de> Deserialize<'de> for ZigbeeDlmD300z
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 RefUnwindSafe for ZigbeeDlmD300z
impl Send for ZigbeeDlmD300z
impl Sync for ZigbeeDlmD300z
impl Unpin for ZigbeeDlmD300z
impl UnwindSafe for ZigbeeDlmD300z
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