pub struct CommandWithHandshake {
pub header: Header,
pub msg_counter: u8,
pub command: i16,
}Fields§
§header: Header§msg_counter: u8§command: i16Trait Implementations§
Source§impl Clone for CommandWithHandshake
impl Clone for CommandWithHandshake
Source§fn clone(&self) -> CommandWithHandshake
fn clone(&self) -> CommandWithHandshake
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 CommandWithHandshake
impl Debug for CommandWithHandshake
Source§impl Default for CommandWithHandshake
impl Default for CommandWithHandshake
Source§impl<'de> Deserialize<'de> for CommandWithHandshake
impl<'de> Deserialize<'de> for CommandWithHandshake
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CommandWithHandshake
impl PartialEq for CommandWithHandshake
Source§impl Serialize for CommandWithHandshake
impl Serialize for CommandWithHandshake
impl Message for CommandWithHandshake
impl StructuralPartialEq for CommandWithHandshake
Auto Trait Implementations§
impl Freeze for CommandWithHandshake
impl RefUnwindSafe for CommandWithHandshake
impl Send for CommandWithHandshake
impl Sync for CommandWithHandshake
impl Unpin for CommandWithHandshake
impl UnwindSafe for CommandWithHandshake
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