pub struct CommandPath {
pub endpoint: u16,
pub cluster: u32,
pub command: u32,
}Expand description
A concrete command path: (endpoint, cluster, command).
Encoded as a CommandPathIB TLV list (Matter Appendix A.6):
context tag 0 = endpoint, 1 = cluster, 2 = command.
Fields§
§endpoint: u16Matter endpoint (always 0 for commissioning).
cluster: u32Cluster ID.
command: u32Command ID.
Trait Implementations§
Source§impl Clone for CommandPath
impl Clone for CommandPath
Source§fn clone(&self) -> CommandPath
fn clone(&self) -> CommandPath
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 moreimpl Copy for CommandPath
Source§impl Debug for CommandPath
impl Debug for CommandPath
impl Eq for CommandPath
Source§impl PartialEq for CommandPath
impl PartialEq for CommandPath
impl StructuralPartialEq for CommandPath
Auto Trait Implementations§
impl Freeze for CommandPath
impl RefUnwindSafe for CommandPath
impl Send for CommandPath
impl Sync for CommandPath
impl Unpin for CommandPath
impl UnsafeUnpin for CommandPath
impl UnwindSafe for CommandPath
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