pub struct ApiVersionsRequestV4 {
pub correlation_id: i32,
pub client_id: Option<String>,
pub client_software_name: String,
pub client_software_version: String,
}Expand description
ApiVersions v4 request.
Version 4 keeps the v3 wire shape while allowing the broker to report feature minimum versions of zero correctly.
Fields§
§correlation_id: i32Request correlation ID.
client_id: Option<String>Optional Kafka client ID from the request header.
client_software_name: StringClient software name reported through KIP-511.
client_software_version: StringClient software version reported through KIP-511.
Implementations§
Trait Implementations§
Source§impl Clone for ApiVersionsRequestV4
impl Clone for ApiVersionsRequestV4
Source§fn clone(&self) -> ApiVersionsRequestV4
fn clone(&self) -> ApiVersionsRequestV4
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 ApiVersionsRequestV4
impl Debug for ApiVersionsRequestV4
impl Eq for ApiVersionsRequestV4
Source§impl PartialEq for ApiVersionsRequestV4
impl PartialEq for ApiVersionsRequestV4
impl StructuralPartialEq for ApiVersionsRequestV4
Auto Trait Implementations§
impl Freeze for ApiVersionsRequestV4
impl RefUnwindSafe for ApiVersionsRequestV4
impl Send for ApiVersionsRequestV4
impl Sync for ApiVersionsRequestV4
impl Unpin for ApiVersionsRequestV4
impl UnsafeUnpin for ApiVersionsRequestV4
impl UnwindSafe for ApiVersionsRequestV4
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