pub struct ApiVersionKey {
pub api_key: i16,
pub min_version: i16,
pub max_version: i16,
}
Fields§
§api_key: i16
§min_version: i16
§max_version: i16
Trait Implementations§
source§impl Clone for ApiVersionKey
impl Clone for ApiVersionKey
source§fn clone(&self) -> ApiVersionKey
fn clone(&self) -> ApiVersionKey
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 ApiVersionKey
impl Debug for ApiVersionKey
source§impl Decoder for ApiVersionKey
impl Decoder for ApiVersionKey
source§impl Default for ApiVersionKey
impl Default for ApiVersionKey
source§fn default() -> ApiVersionKey
fn default() -> ApiVersionKey
Returns the “default value” for a type. Read more
source§impl Encoder for ApiVersionKey
impl Encoder for ApiVersionKey
source§impl PartialEq for ApiVersionKey
impl PartialEq for ApiVersionKey
source§fn eq(&self, other: &ApiVersionKey) -> bool
fn eq(&self, other: &ApiVersionKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ApiVersionKey
impl StructuralPartialEq for ApiVersionKey
Auto Trait Implementations§
impl Freeze for ApiVersionKey
impl RefUnwindSafe for ApiVersionKey
impl Send for ApiVersionKey
impl Sync for ApiVersionKey
impl Unpin for ApiVersionKey
impl UnwindSafe for ApiVersionKey
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.