pub struct ApiVersionsRequestData {
pub client_software_name: KafkaString,
pub client_software_version: KafkaString,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§client_software_name: KafkaStringThe name of the client.
client_software_version: KafkaStringThe version of the client.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl ApiVersionsRequestData
impl ApiVersionsRequestData
pub fn with_client_software_name(self, value: KafkaString) -> Self
pub fn with_client_software_version(self, value: KafkaString) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for ApiVersionsRequestData
impl Clone for ApiVersionsRequestData
Source§fn clone(&self) -> ApiVersionsRequestData
fn clone(&self) -> ApiVersionsRequestData
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 ApiVersionsRequestData
impl Debug for ApiVersionsRequestData
Source§impl Default for ApiVersionsRequestData
impl Default for ApiVersionsRequestData
Source§impl PartialEq for ApiVersionsRequestData
impl PartialEq for ApiVersionsRequestData
Source§fn eq(&self, other: &ApiVersionsRequestData) -> bool
fn eq(&self, other: &ApiVersionsRequestData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApiVersionsRequestData
Auto Trait Implementations§
impl !Freeze for ApiVersionsRequestData
impl RefUnwindSafe for ApiVersionsRequestData
impl Send for ApiVersionsRequestData
impl Sync for ApiVersionsRequestData
impl Unpin for ApiVersionsRequestData
impl UnsafeUnpin for ApiVersionsRequestData
impl UnwindSafe for ApiVersionsRequestData
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