Struct catenis_api_client::ApiVersion
source · Expand description
Specifies a version of the Catenis API.
Example
use catenis_api_client::ApiVersion;
let api_version = ApiVersion(10, 0);
assert_eq!(api_version.to_string(), "10.0");
Tuple Fields
0: u16
1: u16
Trait Implementations
sourceimpl Clone for ApiVersion
impl Clone for ApiVersion
sourcefn clone(&self) -> ApiVersion
fn clone(&self) -> ApiVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ApiVersion
impl Debug for ApiVersion
sourceimpl Display for ApiVersion
impl Display for ApiVersion
sourceimpl PartialEq<ApiVersion> for ApiVersion
impl PartialEq<ApiVersion> for ApiVersion
sourcefn eq(&self, other: &ApiVersion) -> bool
fn eq(&self, other: &ApiVersion) -> bool
impl Copy for ApiVersion
impl Eq for ApiVersion
impl StructuralEq for ApiVersion
impl StructuralPartialEq for ApiVersion
Auto Trait Implementations
impl RefUnwindSafe for ApiVersion
impl Send for ApiVersion
impl Sync for ApiVersion
impl Unpin for ApiVersion
impl UnwindSafe for ApiVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.