pub struct CommandMessage {
pub id: u16,
pub command_data: Command,
}Fields§
§id: u16§command_data: CommandTrait Implementations§
Source§impl Clone for CommandMessage
impl Clone for CommandMessage
Source§fn clone(&self) -> CommandMessage
fn clone(&self) -> CommandMessage
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 CommandMessage
impl Debug for CommandMessage
Auto Trait Implementations§
impl Freeze for CommandMessage
impl RefUnwindSafe for CommandMessage
impl Send for CommandMessage
impl Sync for CommandMessage
impl Unpin for CommandMessage
impl UnsafeUnpin for CommandMessage
impl UnwindSafe for CommandMessage
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