Struct kafka_api::schemata::api_versions_response::ApiVersion
source · pub struct ApiVersion {
pub api_key: i16,
pub min_version: i16,
pub max_version: i16,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§api_key: i16
The API index.
min_version: i16
The minimum supported version, inclusive.
max_version: i16
The maximum supported version, inclusive.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
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 Default for ApiVersion
impl Default for ApiVersion
source§fn default() -> ApiVersion
fn default() -> ApiVersion
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApiVersion
impl RefUnwindSafe for ApiVersion
impl Send for ApiVersion
impl Sync for ApiVersion
impl Unpin for ApiVersion
impl UnwindSafe for ApiVersion
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)