Struct kafka_protocol::messages::api_versions_response::ApiVersion
source · pub struct ApiVersion {
pub min_version: i16,
pub max_version: i16,
pub unknown_tagged_fields: BTreeMap<i32, Vec<u8>>,
}
Expand description
Valid versions: 0-3
Fields§
§min_version: i16
The minimum supported version, inclusive.
Supported API versions: 0-3
max_version: i16
The maximum supported version, inclusive.
Supported API versions: 0-3
unknown_tagged_fields: BTreeMap<i32, Vec<u8>>
Other 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§impl Message for ApiVersion
impl Message for ApiVersion
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
The valid versions for this message.