pub struct ApplicationCommand {
pub rx_status: RxStatus,
pub source: NodeId,
pub destination: Option<NodeId>,
pub command: Vec<u8>,
pub rssi: Option<i8>,
}Expand description
A command class frame received from a node (APPLICATION_COMMAND_HANDLER
or its bridge variant).
Fields§
§rx_status: RxStatusReception flags.
source: NodeIdSending node.
destination: Option<NodeId>Destination (the bridge variant can address virtual nodes); None for the classic variant.
command: Vec<u8>The command class frame.
rssi: Option<i8>Received signal strength, dBm, when the controller reports it.
Implementations§
Trait Implementations§
Source§impl Clone for ApplicationCommand
impl Clone for ApplicationCommand
Source§impl Debug for ApplicationCommand
impl Debug for ApplicationCommand
impl Eq for ApplicationCommand
Source§impl PartialEq for ApplicationCommand
impl PartialEq for ApplicationCommand
impl StructuralPartialEq for ApplicationCommand
Auto Trait Implementations§
impl Freeze for ApplicationCommand
impl RefUnwindSafe for ApplicationCommand
impl Send for ApplicationCommand
impl Sync for ApplicationCommand
impl Unpin for ApplicationCommand
impl UnsafeUnpin for ApplicationCommand
impl UnwindSafe for ApplicationCommand
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