pub struct VersionReq;
Implementations§
Source§impl VersionReq
impl VersionReq
pub fn new() -> VersionReq
Trait Implementations§
Source§impl Clone for VersionReq
impl Clone for VersionReq
Source§fn clone(&self) -> VersionReq
fn clone(&self) -> VersionReq
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 VersionReq
impl Debug for VersionReq
Source§impl From<VersionReq> for Request
impl From<VersionReq> for Request
Source§fn from(original: VersionReq) -> Request
fn from(original: VersionReq) -> Request
Converts to this type from the input type.
Source§impl RequestType for VersionReq
impl RequestType for VersionReq
fn protocol_version(&self) -> ProtocolVersion
Source§impl Serialize for VersionReq
impl Serialize for VersionReq
Auto Trait Implementations§
impl Freeze for VersionReq
impl RefUnwindSafe for VersionReq
impl Send for VersionReq
impl Sync for VersionReq
impl Unpin for VersionReq
impl UnwindSafe for VersionReq
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