#[non_exhaustive]pub struct SupportedFeatureKey {
pub min_version: i16,
pub max_version: i16,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0-3
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.min_version: i16
The minimum supported version for the feature.
Supported API versions: 3
max_version: i16
The maximum supported version for the feature.
Supported API versions: 3
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Trait Implementations§
source§impl Builder for SupportedFeatureKey
impl Builder for SupportedFeatureKey
§type Builder = SupportedFeatureKeyBuilder
type Builder = SupportedFeatureKeyBuilder
The
derive_builder::Builder
type for this protocol item.source§impl Clone for SupportedFeatureKey
impl Clone for SupportedFeatureKey
source§fn clone(&self) -> SupportedFeatureKey
fn clone(&self) -> SupportedFeatureKey
Returns a copy of the value. Read more
1.0.0 · 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 SupportedFeatureKey
impl Debug for SupportedFeatureKey
source§impl Default for SupportedFeatureKey
impl Default for SupportedFeatureKey
source§impl Message for SupportedFeatureKey
impl Message for SupportedFeatureKey
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
The valid versions for this message.
source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
The deprecated versions for this message.
source§impl PartialEq for SupportedFeatureKey
impl PartialEq for SupportedFeatureKey
source§fn eq(&self, other: &SupportedFeatureKey) -> bool
fn eq(&self, other: &SupportedFeatureKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SupportedFeatureKey
Auto Trait Implementations§
impl RefUnwindSafe for SupportedFeatureKey
impl Send for SupportedFeatureKey
impl Sync for SupportedFeatureKey
impl Unpin for SupportedFeatureKey
impl UnwindSafe for SupportedFeatureKey
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