Struct relay_auth::RelayVersion
source · pub struct RelayVersion { /* private fields */ }
Expand description
The version of a Relay.
Implementations§
source§impl RelayVersion
impl RelayVersion
Trait Implementations§
source§impl Clone for RelayVersion
impl Clone for RelayVersion
source§fn clone(&self) -> RelayVersion
fn clone(&self) -> RelayVersion
Returns a copy 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 RelayVersion
impl Debug for RelayVersion
source§impl Default for RelayVersion
impl Default for RelayVersion
source§fn default() -> RelayVersion
fn default() -> RelayVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RelayVersion
impl<'de> Deserialize<'de> for RelayVersion
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 Display for RelayVersion
impl Display for RelayVersion
source§impl FromStr for RelayVersion
impl FromStr for RelayVersion
source§impl Ord for RelayVersion
impl Ord for RelayVersion
source§fn cmp(&self, other: &RelayVersion) -> Ordering
fn cmp(&self, other: &RelayVersion) -> 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 RelayVersion
impl PartialEq for RelayVersion
source§fn eq(&self, other: &RelayVersion) -> bool
fn eq(&self, other: &RelayVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RelayVersion
impl PartialOrd for RelayVersion
source§fn partial_cmp(&self, other: &RelayVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &RelayVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for RelayVersion
impl Serialize for RelayVersion
impl Copy for RelayVersion
impl Eq for RelayVersion
impl StructuralPartialEq for RelayVersion
Auto Trait Implementations§
impl Freeze for RelayVersion
impl RefUnwindSafe for RelayVersion
impl Send for RelayVersion
impl Sync for RelayVersion
impl Unpin for RelayVersion
impl UnwindSafe for RelayVersion
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
§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
Checks if this value is equivalent to the given key. Read more