pub struct RawCommand {
pub cc: u16,
pub command: u8,
pub payload: Vec<u8>,
}Expand description
A command the definitions do not cover, kept as bytes.
Fields§
§cc: u16Command class id.
command: u8Command id.
payload: Vec<u8>Payload after the command id.
Trait Implementations§
Source§impl Clone for RawCommand
impl Clone for RawCommand
Source§impl Debug for RawCommand
impl Debug for RawCommand
impl Eq for RawCommand
Source§impl PartialEq for RawCommand
impl PartialEq for RawCommand
impl StructuralPartialEq for RawCommand
Auto Trait Implementations§
impl Freeze for RawCommand
impl RefUnwindSafe for RawCommand
impl Send for RawCommand
impl Sync for RawCommand
impl Unpin for RawCommand
impl UnsafeUnpin for RawCommand
impl UnwindSafe for RawCommand
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