pub struct ApiVersionsRequest {
pub client_version: String,
pub client_os: String,
pub client_arch: String,
}Fields
client_version: Stringclient_os: Stringclient_arch: StringTrait Implementations
sourceimpl Debug for ApiVersionsRequest
impl Debug for ApiVersionsRequest
sourceimpl Decoder for ApiVersionsRequest
impl Decoder for ApiVersionsRequest
sourceimpl Default for ApiVersionsRequest
impl Default for ApiVersionsRequest
sourcefn default() -> ApiVersionsRequest
fn default() -> ApiVersionsRequest
Returns the “default value” for a type. Read more
sourceimpl Encoder for ApiVersionsRequest
impl Encoder for ApiVersionsRequest
sourceimpl Request for ApiVersionsRequest
impl Request for ApiVersionsRequest
const API_KEY: u16 = 18u16
const DEFAULT_API_VERSION: i16 = 1i16
type Response = ApiVersionsResponse
const MIN_API_VERSION: i16 = 0i16
const MAX_API_VERSION: i16 = -1i16
Auto Trait Implementations
impl RefUnwindSafe for ApiVersionsRequest
impl Send for ApiVersionsRequest
impl Sync for ApiVersionsRequest
impl Unpin for ApiVersionsRequest
impl UnwindSafe for ApiVersionsRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more