#[non_exhaustive]pub struct AttributeReport {
pub path: AttributePath,
pub value: Value,
}Expand description
One reported attribute change from a subscription.
#[non_exhaustive]: this is a read-only report produced by the library, so
future fields (e.g. a data version) can be added without a breaking change.
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: AttributePathThe concrete attribute path the device reported.
value: ValueThe new value.
Trait Implementations§
Source§impl Clone for AttributeReport
impl Clone for AttributeReport
Source§fn clone(&self) -> AttributeReport
fn clone(&self) -> AttributeReport
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 AttributeReport
impl Debug for AttributeReport
Source§impl PartialEq for AttributeReport
impl PartialEq for AttributeReport
impl StructuralPartialEq for AttributeReport
Auto Trait Implementations§
impl Freeze for AttributeReport
impl RefUnwindSafe for AttributeReport
impl Send for AttributeReport
impl Sync for AttributeReport
impl Unpin for AttributeReport
impl UnsafeUnpin for AttributeReport
impl UnwindSafe for AttributeReport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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