Struct docker_api::ApiVersion
source · pub struct ApiVersion { /* private fields */ }
Expand description
Structure representing API version used to determine compatibility between a client and a server.
Implementations§
Trait Implementations§
source§impl Clone for ApiVersion
impl Clone for ApiVersion
source§fn clone(&self) -> ApiVersion
fn clone(&self) -> ApiVersion
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 ApiVersion
impl Debug for ApiVersion
source§impl Display for ApiVersion
impl Display for ApiVersion
source§impl From<usize> for ApiVersion
impl From<usize> for ApiVersion
source§fn from(v: usize) -> ApiVersion
fn from(v: usize) -> ApiVersion
Converts to this type from the input type.
source§impl FromStr for ApiVersion
impl FromStr for ApiVersion
source§impl Ord for ApiVersion
impl Ord for ApiVersion
source§fn cmp(&self, other: &ApiVersion) -> Ordering
fn cmp(&self, other: &ApiVersion) -> 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<ApiVersion> for ApiVersion
impl PartialEq<ApiVersion> for ApiVersion
source§fn eq(&self, other: &ApiVersion) -> bool
fn eq(&self, other: &ApiVersion) -> bool
source§impl PartialOrd<ApiVersion> for ApiVersion
impl PartialOrd<ApiVersion> for ApiVersion
source§fn partial_cmp(&self, other: &ApiVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &ApiVersion) -> 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 more