pub struct ApiVersionsResponseV3 {
pub error_code: i16,
pub api_keys: Vec<ApiKeyVersion>,
pub throttle_time_ms: i32,
pub tagged_fields: Vec<TaggedField>,
}Expand description
ApiVersions v3 response with flexible encoding and forward-compatible tags.
Fields§
§error_code: i16Top-level Kafka error code.
api_keys: Vec<ApiKeyVersion>API version ranges advertised by the broker.
throttle_time_ms: i32Broker throttle duration in milliseconds.
tagged_fields: Vec<TaggedField>Unknown or future top-level tagged fields preserved for inspection.
Implementations§
Source§impl ApiVersionsResponseV3
impl ApiVersionsResponseV3
Sourcepub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
pub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
Decodes an ApiVersions v3 response body after its response header.
Trait Implementations§
Source§impl Clone for ApiVersionsResponseV3
impl Clone for ApiVersionsResponseV3
Source§fn clone(&self) -> ApiVersionsResponseV3
fn clone(&self) -> ApiVersionsResponseV3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ApiVersionsResponseV3
impl Debug for ApiVersionsResponseV3
impl Eq for ApiVersionsResponseV3
Source§impl PartialEq for ApiVersionsResponseV3
impl PartialEq for ApiVersionsResponseV3
impl StructuralPartialEq for ApiVersionsResponseV3
Auto Trait Implementations§
impl Freeze for ApiVersionsResponseV3
impl RefUnwindSafe for ApiVersionsResponseV3
impl Send for ApiVersionsResponseV3
impl Sync for ApiVersionsResponseV3
impl Unpin for ApiVersionsResponseV3
impl UnsafeUnpin for ApiVersionsResponseV3
impl UnwindSafe for ApiVersionsResponseV3
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