pub struct ReadPath {
pub endpoint: Option<u16>,
pub cluster: Option<u32>,
pub attribute: Option<u32>,
}Expand description
A read-request attribute path with optional (wildcard) components. A None
field is omitted from the encoded AttributePathIB, which the Matter IM
interprets as a wildcard (Appendix A.6): omit attribute → all attributes of
the cluster; omit endpoint → all endpoints; etc. Responses are always keyed
by a concrete AttributePath.
Fields§
§endpoint: Option<u16>Endpoint, or None for all endpoints.
cluster: Option<u32>Cluster, or None for all clusters.
attribute: Option<u32>Attribute, or None for all attributes.
Implementations§
Trait Implementations§
impl Copy for ReadPath
impl Eq for ReadPath
Source§impl From<AttributePath> for ReadPath
impl From<AttributePath> for ReadPath
Source§fn from(p: AttributePath) -> ReadPath
fn from(p: AttributePath) -> ReadPath
Converts to this type from the input type.
impl StructuralPartialEq for ReadPath
Auto Trait Implementations§
impl Freeze for ReadPath
impl RefUnwindSafe for ReadPath
impl Send for ReadPath
impl Sync for ReadPath
impl Unpin for ReadPath
impl UnsafeUnpin for ReadPath
impl UnwindSafe for ReadPath
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