pub struct HelloCommand {
pub high_version: i32,
pub low_version: i32,
}
Expand description
- Hello Command
Fields§
§high_version: i32
§low_version: i32
Trait Implementations§
Source§impl Clone for HelloCommand
impl Clone for HelloCommand
Source§fn clone(&self) -> HelloCommand
fn clone(&self) -> HelloCommand
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 Command for HelloCommand
impl Command for HelloCommand
Source§impl Debug for HelloCommand
impl Debug for HelloCommand
Source§impl<'de> Deserialize<'de> for HelloCommand
impl<'de> Deserialize<'de> for HelloCommand
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 HelloCommand
impl PartialEq for HelloCommand
Source§impl Reply for HelloCommand
impl Reply for HelloCommand
fn get_request_id(&self) -> i64
fn is_failure(&self) -> bool
Source§impl Request for HelloCommand
impl Request for HelloCommand
Source§impl Serialize for HelloCommand
impl Serialize for HelloCommand
impl StructuralPartialEq for HelloCommand
Auto Trait Implementations§
impl Freeze for HelloCommand
impl RefUnwindSafe for HelloCommand
impl Send for HelloCommand
impl Sync for HelloCommand
impl Unpin for HelloCommand
impl UnwindSafe for HelloCommand
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