pub struct ApiVersionsRequestV5 {
pub correlation_id: i32,
pub client_id: Option<String>,
pub client_software_name: String,
pub client_software_version: String,
pub cluster_id: Option<String>,
pub node_id: i32,
}Expand description
ApiVersions v5 request with optional cluster and node identity checks.
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.
cluster_id: Option<String>Expected cluster ID, when the client already knows it.
node_id: i32Expected broker node ID, or -1 when it is unknown.
Implementations§
Trait Implementations§
Source§impl Clone for ApiVersionsRequestV5
impl Clone for ApiVersionsRequestV5
Source§fn clone(&self) -> ApiVersionsRequestV5
fn clone(&self) -> ApiVersionsRequestV5
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 ApiVersionsRequestV5
impl Debug for ApiVersionsRequestV5
impl Eq for ApiVersionsRequestV5
Source§impl PartialEq for ApiVersionsRequestV5
impl PartialEq for ApiVersionsRequestV5
impl StructuralPartialEq for ApiVersionsRequestV5
Auto Trait Implementations§
impl Freeze for ApiVersionsRequestV5
impl RefUnwindSafe for ApiVersionsRequestV5
impl Send for ApiVersionsRequestV5
impl Sync for ApiVersionsRequestV5
impl Unpin for ApiVersionsRequestV5
impl UnsafeUnpin for ApiVersionsRequestV5
impl UnwindSafe for ApiVersionsRequestV5
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