Struct catenis_api_client::ApiVersion [−][src]
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more