pub struct CommsCmd<'a> {
pub command_id: CommsCommandId,
pub params: CommsCmdParams<'a>,
}Expand description
comms_cmd() object (Table 52).
Fields§
§command_id: CommsCommandIdcomms_command_id.
params: CommsCmdParams<'a>The branch-dependent parameters keyed by command_id.
Trait Implementations§
impl<'a> Eq for CommsCmd<'a>
Source§impl Serialize for CommsCmd<'_>
impl Serialize for CommsCmd<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for CommsCmd<'a>
Auto Trait Implementations§
impl<'a> Freeze for CommsCmd<'a>
impl<'a> RefUnwindSafe for CommsCmd<'a>
impl<'a> Send for CommsCmd<'a>
impl<'a> Sync for CommsCmd<'a>
impl<'a> Unpin for CommsCmd<'a>
impl<'a> UnsafeUnpin for CommsCmd<'a>
impl<'a> UnwindSafe for CommsCmd<'a>
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