#[non_exhaustive]pub struct UpdateFeaturesRequest {
pub timeout_ms: i32,
pub feature_updates: Vec<FeatureUpdateKey>,
pub validate_only: bool,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0-1
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.timeout_ms: i32
How long to wait in milliseconds before timing out the request.
Supported API versions: 0-1
feature_updates: Vec<FeatureUpdateKey>
The list of updates to finalized features.
Supported API versions: 0-1
validate_only: bool
True if we should validate the request, but not perform the upgrade or downgrade.
Supported API versions: 1
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Implementations§
Source§impl UpdateFeaturesRequest
impl UpdateFeaturesRequest
Sourcepub fn with_timeout_ms(self, value: i32) -> Self
pub fn with_timeout_ms(self, value: i32) -> Self
Sets timeout_ms
to the passed value.
How long to wait in milliseconds before timing out the request.
Supported API versions: 0-1
Sourcepub fn with_feature_updates(self, value: Vec<FeatureUpdateKey>) -> Self
pub fn with_feature_updates(self, value: Vec<FeatureUpdateKey>) -> Self
Sets feature_updates
to the passed value.
The list of updates to finalized features.
Supported API versions: 0-1
Sourcepub fn with_validate_only(self, value: bool) -> Self
pub fn with_validate_only(self, value: bool) -> Self
Sets validate_only
to the passed value.
True if we should validate the request, but not perform the upgrade or downgrade.
Supported API versions: 1
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for UpdateFeaturesRequest
impl Clone for UpdateFeaturesRequest
Source§fn clone(&self) -> UpdateFeaturesRequest
fn clone(&self) -> UpdateFeaturesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UpdateFeaturesRequest
impl Debug for UpdateFeaturesRequest
Source§impl Decodable for UpdateFeaturesRequest
Available on crate feature broker
only.
impl Decodable for UpdateFeaturesRequest
broker
only.Source§impl Default for UpdateFeaturesRequest
impl Default for UpdateFeaturesRequest
Source§impl Encodable for UpdateFeaturesRequest
Available on crate feature client
only.
impl Encodable for UpdateFeaturesRequest
client
only.Source§impl From<UpdateFeaturesRequest> for RequestKind
Available on crate feature messages_enums
only.
impl From<UpdateFeaturesRequest> for RequestKind
messages_enums
only.Source§fn from(value: UpdateFeaturesRequest) -> RequestKind
fn from(value: UpdateFeaturesRequest) -> RequestKind
Source§impl HeaderVersion for UpdateFeaturesRequest
impl HeaderVersion for UpdateFeaturesRequest
Source§fn header_version(version: i16) -> i16
fn header_version(version: i16) -> i16
Source§impl Message for UpdateFeaturesRequest
impl Message for UpdateFeaturesRequest
Source§const VERSIONS: VersionRange
const VERSIONS: VersionRange
Source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
Source§impl PartialEq for UpdateFeaturesRequest
impl PartialEq for UpdateFeaturesRequest
Source§impl Request for UpdateFeaturesRequest
Available on crate features client
and broker
only.
impl Request for UpdateFeaturesRequest
client
and broker
only.