pub struct ApiVersionsRequest {
pub client_software_name: String,
pub client_software_version: String,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§client_software_name: String§client_software_version: String§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl<'a> Arbitrary<'a> for ApiVersionsRequest
impl<'a> Arbitrary<'a> for ApiVersionsRequest
Source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§impl Clone for ApiVersionsRequest
impl Clone for ApiVersionsRequest
Source§fn clone(&self) -> ApiVersionsRequest
fn clone(&self) -> ApiVersionsRequest
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 ApiVersionsRequest
impl Debug for ApiVersionsRequest
Source§impl Decode<'_> for ApiVersionsRequest
impl Decode<'_> for ApiVersionsRequest
Source§impl Default for ApiVersionsRequest
impl Default for ApiVersionsRequest
Source§fn default() -> ApiVersionsRequest
fn default() -> ApiVersionsRequest
Returns the “default value” for a type. Read more
Source§impl Encode for ApiVersionsRequest
impl Encode for ApiVersionsRequest
impl Eq for ApiVersionsRequest
Source§impl PartialEq for ApiVersionsRequest
impl PartialEq for ApiVersionsRequest
Source§fn eq(&self, other: &ApiVersionsRequest) -> bool
fn eq(&self, other: &ApiVersionsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ProtocolRequest for ApiVersionsRequest
impl ProtocolRequest for ApiVersionsRequest
Source§const MIN_VERSION: i16 = MIN_VERSION
const MIN_VERSION: i16 = MIN_VERSION
Minimum protocol version this Rust type supports.
Source§const MAX_VERSION: i16 = MAX_VERSION
const MAX_VERSION: i16 = MAX_VERSION
Maximum protocol version this Rust type supports.
Source§const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
const FLEXIBLE_MIN: i16 = FLEXIBLE_MIN
First version that uses flexible (KIP-482) framing.
i16::MAX for never-flexible messages.Source§type Response = ApiVersionsResponse
type Response = ApiVersionsResponse
Matching response type from
crabka-protocol.impl StructuralPartialEq for ApiVersionsRequest
Auto Trait Implementations§
impl Freeze for ApiVersionsRequest
impl RefUnwindSafe for ApiVersionsRequest
impl Send for ApiVersionsRequest
impl Sync for ApiVersionsRequest
impl Unpin for ApiVersionsRequest
impl UnsafeUnpin for ApiVersionsRequest
impl UnwindSafe for ApiVersionsRequest
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