pub struct AttributeData<'a> {
pub data_version: Option<DataVersion>,
pub path: AttributePath,
pub data: &'a [u8],
}Expand description
AttributeDataIB (§10.6.4) — a path and the value at it.
Fields§
§data_version: Option<DataVersion>DataVersion [0] — “the data version of the cluster instance”, present in a report
and absent in a write.
path: AttributePathPath [1].
data: &'a [u8]Data [2] — the encoded TLV element, tag included, exactly as it arrived.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for AttributeData<'a>
impl<'a> Clone for AttributeData<'a>
impl<'a> Copy for AttributeData<'a>
Source§impl<'a> Debug for AttributeData<'a>
impl<'a> Debug for AttributeData<'a>
impl<'a> Eq for AttributeData<'a>
Source§impl<'a> PartialEq for AttributeData<'a>
impl<'a> PartialEq for AttributeData<'a>
impl<'a> StructuralPartialEq for AttributeData<'a>
Auto Trait Implementations§
impl<'a> Forget for AttributeData<'a>
impl<'a> Freeze for AttributeData<'a>
impl<'a> Move for AttributeData<'a>
impl<'a> RefUnwindSafe for AttributeData<'a>
impl<'a> Send for AttributeData<'a>
impl<'a> Sync for AttributeData<'a>
impl<'a> Unpin for AttributeData<'a>
impl<'a> UnsafeUnpin for AttributeData<'a>
impl<'a> UnwindSafe for AttributeData<'a>
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