pub enum AttributeData {
Value(TlvItemValue),
Status {
status: u8,
cluster_status: Option<u8>,
},
}Expand description
Payload of a single attribute report - either a value or a status code.
Variants§
Trait Implementations§
Source§impl Clone for AttributeData
impl Clone for AttributeData
Source§fn clone(&self) -> AttributeData
fn clone(&self) -> AttributeData
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 AttributeData
impl Debug for AttributeData
Source§impl PartialEq for AttributeData
impl PartialEq for AttributeData
impl StructuralPartialEq for AttributeData
Auto Trait Implementations§
impl Freeze for AttributeData
impl RefUnwindSafe for AttributeData
impl Send for AttributeData
impl Sync for AttributeData
impl Unpin for AttributeData
impl UnsafeUnpin for AttributeData
impl UnwindSafe for AttributeData
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