#[non_exhaustive]pub struct FeatureUpdateKey {
pub max_version_level: i16,
pub allow_downgrade: bool,
pub upgrade_type: i8,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0-1
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.max_version_level: i16
The new maximum version level for the finalized feature. A value >= 1 is valid. A value < 1, is special, and can be used to request the deletion of the finalized feature.
Supported API versions: 0-1
allow_downgrade: bool
DEPRECATED in version 1 (see DowngradeType). When set to true, the finalized feature version level is allowed to be downgraded/deleted. The downgrade request will fail if the new maximum version level is a value that’s not lower than the existing maximum finalized version level.
Supported API versions: 0
upgrade_type: i8
Determine which type of upgrade will be performed: 1 will perform an upgrade only (default), 2 is safe downgrades only (lossless), 3 is unsafe downgrades (lossy).
Supported API versions: 1
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Trait Implementations§
source§impl Builder for FeatureUpdateKey
impl Builder for FeatureUpdateKey
§type Builder = FeatureUpdateKeyBuilder
type Builder = FeatureUpdateKeyBuilder
The
derive_builder::Builder
type for this protocol item.source§impl Clone for FeatureUpdateKey
impl Clone for FeatureUpdateKey
source§fn clone(&self) -> FeatureUpdateKey
fn clone(&self) -> FeatureUpdateKey
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 FeatureUpdateKey
impl Debug for FeatureUpdateKey
source§impl Default for FeatureUpdateKey
impl Default for FeatureUpdateKey
source§impl Message for FeatureUpdateKey
impl Message for FeatureUpdateKey
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 FeatureUpdateKey
impl PartialEq for FeatureUpdateKey
source§fn eq(&self, other: &FeatureUpdateKey) -> bool
fn eq(&self, other: &FeatureUpdateKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FeatureUpdateKey
Auto Trait Implementations§
impl RefUnwindSafe for FeatureUpdateKey
impl Send for FeatureUpdateKey
impl Sync for FeatureUpdateKey
impl Unpin for FeatureUpdateKey
impl UnwindSafe for FeatureUpdateKey
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