#[non_exhaustive]pub struct FinalizedFeatureKey {
pub name: String,
pub max_version_level: i16,
pub min_version_level: i16,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
FinalizedFeatureKey (nested in ApiVersionsResponse).
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.name: StringThe name of the feature.
max_version_level: i16The cluster-wide finalized max version level for the feature.
min_version_level: i16The cluster-wide finalized min version level for the feature.
unknown_tagged_fields: Vec<RawTaggedField>Tagged fields not (yet) known to this crate, kept raw.
Implementations§
Source§impl FinalizedFeatureKey
impl FinalizedFeatureKey
Sourcepub fn encode(
&self,
buf: &mut impl BufMut,
version: i16,
) -> Result<(), EncodeError>
pub fn encode( &self, buf: &mut impl BufMut, version: i16, ) -> Result<(), EncodeError>
Encode this FinalizedFeatureKey at version.
Sourcepub fn decode(buf: &mut impl Buf, version: i16) -> Result<Self, DecodeError>
pub fn decode(buf: &mut impl Buf, version: i16) -> Result<Self, DecodeError>
Decode one FinalizedFeatureKey, bounding allocation by the default
Limits derived from buf’s remaining length.
Sourcepub fn decode_with_limits(
buf: &mut impl Buf,
version: i16,
limits: Limits,
) -> Result<Self, DecodeError>
pub fn decode_with_limits( buf: &mut impl Buf, version: i16, limits: Limits, ) -> Result<Self, DecodeError>
Decode one FinalizedFeatureKey under limits.
Sourcepub fn decode_with_budget(
buf: &mut impl Buf,
version: i16,
budget: &mut Budget,
) -> Result<Self, DecodeError>
pub fn decode_with_budget( buf: &mut impl Buf, version: i16, budget: &mut Budget, ) -> Result<Self, DecodeError>
Decode one FinalizedFeatureKey against an existing budget.
Trait Implementations§
Source§impl Clone for FinalizedFeatureKey
impl Clone for FinalizedFeatureKey
Source§impl Debug for FinalizedFeatureKey
impl Debug for FinalizedFeatureKey
Source§impl Default for FinalizedFeatureKey
impl Default for FinalizedFeatureKey
Source§impl PartialEq for FinalizedFeatureKey
impl PartialEq for FinalizedFeatureKey
impl StructuralPartialEq for FinalizedFeatureKey
Auto Trait Implementations§
impl Forget for FinalizedFeatureKey
impl Freeze for FinalizedFeatureKey
impl Move for FinalizedFeatureKey
impl RefUnwindSafe for FinalizedFeatureKey
impl Send for FinalizedFeatureKey
impl Sync for FinalizedFeatureKey
impl Unpin for FinalizedFeatureKey
impl UnsafeUnpin for FinalizedFeatureKey
impl UnwindSafe for FinalizedFeatureKey
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