pub struct SetClientVersionRequest {
pub major: u16,
pub minor: u16,
}
Fields§
§major: u16
§minor: u16
Implementations§
Trait Implementations§
Source§impl Clone for SetClientVersionRequest
impl Clone for SetClientVersionRequest
Source§fn clone(&self) -> SetClientVersionRequest
fn clone(&self) -> SetClientVersionRequest
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 SetClientVersionRequest
impl Debug for SetClientVersionRequest
Source§impl Default for SetClientVersionRequest
impl Default for SetClientVersionRequest
Source§fn default() -> SetClientVersionRequest
fn default() -> SetClientVersionRequest
Returns the “default value” for a type. Read more
Source§impl Hash for SetClientVersionRequest
impl Hash for SetClientVersionRequest
Source§impl Ord for SetClientVersionRequest
impl Ord for SetClientVersionRequest
Source§fn cmp(&self, other: &SetClientVersionRequest) -> Ordering
fn cmp(&self, other: &SetClientVersionRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SetClientVersionRequest
impl PartialEq for SetClientVersionRequest
Source§impl PartialOrd for SetClientVersionRequest
impl PartialOrd for SetClientVersionRequest
Source§impl Request for SetClientVersionRequest
impl Request for SetClientVersionRequest
impl Copy for SetClientVersionRequest
impl Eq for SetClientVersionRequest
impl StructuralPartialEq for SetClientVersionRequest
impl VoidRequest for SetClientVersionRequest
Auto Trait Implementations§
impl Freeze for SetClientVersionRequest
impl RefUnwindSafe for SetClientVersionRequest
impl Send for SetClientVersionRequest
impl Sync for SetClientVersionRequest
impl Unpin for SetClientVersionRequest
impl UnwindSafe for SetClientVersionRequest
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