pub struct Report {
pub v1_alarm_type: u8,
pub v1_alarm_level: u8,
pub zensor_net_source: Option<u8>,
pub status: Option<u8>,
pub notification_type: Option<u8>,
pub event: Option<u8>,
pub sequence: Option<bool>,
pub params: Vec<u8>,
pub sequence_number: Option<u8>,
}Expand description
Notification Report (0x71 0x05).
Fields§
§v1_alarm_type: u8The v1_alarm_type field.
v1_alarm_level: u8The v1_alarm_level field.
zensor_net_source: Option<u8>The zensor_net_source field.
status: Option<u8>The status field.
notification_type: Option<u8>The notification_type field.
event: Option<u8>The event field.
sequence: Option<bool>The sequence field (bits 7..8).
params: Vec<u8>The params field.
sequence_number: Option<u8>The sequence_number field.
Implementations§
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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