pub struct ParserProtocolVersion(/* private fields */);Expand description
Validated current protocol version carried by every control payload.
Implementations§
Trait Implementations§
Source§impl Clone for ParserProtocolVersion
impl Clone for ParserProtocolVersion
Source§fn clone(&self) -> ParserProtocolVersion
fn clone(&self) -> ParserProtocolVersion
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 ParserProtocolVersion
impl Debug for ParserProtocolVersion
Source§impl<'de> Deserialize<'de> for ParserProtocolVersion
impl<'de> Deserialize<'de> for ParserProtocolVersion
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 ParserProtocolVersion
impl PartialEq for ParserProtocolVersion
Source§impl Serialize for ParserProtocolVersion
impl Serialize for ParserProtocolVersion
impl Copy for ParserProtocolVersion
impl Eq for ParserProtocolVersion
impl StructuralPartialEq for ParserProtocolVersion
Auto Trait Implementations§
impl Freeze for ParserProtocolVersion
impl RefUnwindSafe for ParserProtocolVersion
impl Send for ParserProtocolVersion
impl Sync for ParserProtocolVersion
impl Unpin for ParserProtocolVersion
impl UnwindSafe for ParserProtocolVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.