pub struct CommandContainer {
pub code: OperationCode,
pub transaction_id: u32,
pub params: Vec<u32>,
}Expand description
Command container sent to the device.
Fields§
§code: OperationCodeOperation code for the command.
transaction_id: u32Transaction ID for this operation.
params: Vec<u32>Parameters (0-5 u32 values).
Implementations§
Trait Implementations§
Source§impl Clone for CommandContainer
impl Clone for CommandContainer
Source§fn clone(&self) -> CommandContainer
fn clone(&self) -> CommandContainer
Returns a duplicate of the value. Read more
1.0.0 · 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 CommandContainer
impl Debug for CommandContainer
Source§impl PartialEq for CommandContainer
impl PartialEq for CommandContainer
impl Eq for CommandContainer
impl StructuralPartialEq for CommandContainer
Auto Trait Implementations§
impl Freeze for CommandContainer
impl RefUnwindSafe for CommandContainer
impl Send for CommandContainer
impl Sync for CommandContainer
impl Unpin for CommandContainer
impl UnsafeUnpin for CommandContainer
impl UnwindSafe for CommandContainer
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