#[non_exhaustive]pub struct EventReportItem {
pub path: EventPath,
pub event_number: u64,
pub priority: EventPriority,
pub timestamp: EventTimestamp,
pub value: Value,
}Expand description
One EventDataIB (a real event with data).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: EventPathThe event’s (node?, endpoint, cluster, event) path.
event_number: u64Monotonic event number (scoped to priority).
priority: EventPriorityEvent priority.
timestamp: EventTimestampEvent timestamp.
value: ValueThe event payload (cluster-defined TLV; decode with matter-clusters).
Trait Implementations§
Source§impl Clone for EventReportItem
impl Clone for EventReportItem
Source§fn clone(&self) -> EventReportItem
fn clone(&self) -> EventReportItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventReportItem
impl Debug for EventReportItem
Source§impl PartialEq for EventReportItem
impl PartialEq for EventReportItem
impl StructuralPartialEq for EventReportItem
Auto Trait Implementations§
impl Freeze for EventReportItem
impl RefUnwindSafe for EventReportItem
impl Send for EventReportItem
impl Sync for EventReportItem
impl Unpin for EventReportItem
impl UnsafeUnpin for EventReportItem
impl UnwindSafe for EventReportItem
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