Struct avalanche_types::utils::version::ApplicationVersion
source · pub struct ApplicationVersion {
pub app: String,
pub major: u32,
pub minor: u32,
pub patch: u32,
}Fields§
§app: String§major: u32§minor: u32§patch: u32Implementations§
source§impl ApplicationVersion
impl ApplicationVersion
pub fn before(&self, other: &ApplicationVersion) -> bool
Trait Implementations§
source§impl Clone for ApplicationVersion
impl Clone for ApplicationVersion
source§fn clone(&self) -> ApplicationVersion
fn clone(&self) -> ApplicationVersion
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 ApplicationVersion
impl Debug for ApplicationVersion
source§impl Hash for ApplicationVersion
impl Hash for ApplicationVersion
source§impl Ord for ApplicationVersion
impl Ord for ApplicationVersion
source§fn cmp(&self, other: &ApplicationVersion) -> Ordering
fn cmp(&self, other: &ApplicationVersion) -> 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<ApplicationVersion> for ApplicationVersion
impl PartialEq<ApplicationVersion> for ApplicationVersion
source§fn eq(&self, other: &ApplicationVersion) -> bool
fn eq(&self, other: &ApplicationVersion) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ApplicationVersion> for ApplicationVersion
impl PartialOrd<ApplicationVersion> for ApplicationVersion
source§fn partial_cmp(&self, other: &ApplicationVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &ApplicationVersion) -> 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 moreimpl Eq for ApplicationVersion
impl StructuralEq for ApplicationVersion
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationVersion
impl Send for ApplicationVersion
impl Sync for ApplicationVersion
impl Unpin for ApplicationVersion
impl UnwindSafe for ApplicationVersion
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request