pub struct ApiVersionsResponseV0 {
pub error_code: i16,
pub api_keys: Vec<ApiKeyVersion>,
}Fields§
§error_code: i16§api_keys: Vec<ApiKeyVersion>Implementations§
Source§impl ApiVersionsResponseV0
impl ApiVersionsResponseV0
pub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
pub fn highest_supported_version( &self, api_key: i16, max_supported: i16, ) -> Option<i16>
Trait Implementations§
Source§impl Clone for ApiVersionsResponseV0
impl Clone for ApiVersionsResponseV0
Source§fn clone(&self) -> ApiVersionsResponseV0
fn clone(&self) -> ApiVersionsResponseV0
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 ApiVersionsResponseV0
impl Debug for ApiVersionsResponseV0
impl Eq for ApiVersionsResponseV0
Source§impl PartialEq for ApiVersionsResponseV0
impl PartialEq for ApiVersionsResponseV0
impl StructuralPartialEq for ApiVersionsResponseV0
Auto Trait Implementations§
impl Freeze for ApiVersionsResponseV0
impl RefUnwindSafe for ApiVersionsResponseV0
impl Send for ApiVersionsResponseV0
impl Sync for ApiVersionsResponseV0
impl Unpin for ApiVersionsResponseV0
impl UnsafeUnpin for ApiVersionsResponseV0
impl UnwindSafe for ApiVersionsResponseV0
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