pub struct UpdateFeaturesRequestBuilder { /* private fields */ }
Expand description
Builder for UpdateFeaturesRequest
.
Implementations§
source§impl UpdateFeaturesRequestBuilder
impl UpdateFeaturesRequestBuilder
sourcepub fn timeout_ms(&mut self, value: i32) -> &mut Self
pub fn timeout_ms(&mut self, value: i32) -> &mut Self
How long to wait in milliseconds before timing out the request.
Supported API versions: 0-1
sourcepub fn feature_updates(
&mut self,
value: IndexMap<StrBytes, FeatureUpdateKey>
) -> &mut Self
pub fn feature_updates( &mut self, value: IndexMap<StrBytes, FeatureUpdateKey> ) -> &mut Self
The list of updates to finalized features.
Supported API versions: 0-1
sourcepub fn validate_only(&mut self, value: bool) -> &mut Self
pub fn validate_only(&mut self, value: bool) -> &mut Self
True if we should validate the request, but not perform the upgrade or downgrade.
Supported API versions: 1
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Bytes>
) -> &mut Self
pub fn unknown_tagged_fields( &mut self, value: BTreeMap<i32, Bytes> ) -> &mut Self
Other tagged fields
sourcepub fn build(
&self
) -> Result<UpdateFeaturesRequest, UpdateFeaturesRequestBuilderError>
pub fn build( &self ) -> Result<UpdateFeaturesRequest, UpdateFeaturesRequestBuilderError>
Trait Implementations§
source§impl Clone for UpdateFeaturesRequestBuilder
impl Clone for UpdateFeaturesRequestBuilder
source§fn clone(&self) -> UpdateFeaturesRequestBuilder
fn clone(&self) -> UpdateFeaturesRequestBuilder
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 moreAuto Trait Implementations§
impl RefUnwindSafe for UpdateFeaturesRequestBuilder
impl Send for UpdateFeaturesRequestBuilder
impl Sync for UpdateFeaturesRequestBuilder
impl Unpin for UpdateFeaturesRequestBuilder
impl UnwindSafe for UpdateFeaturesRequestBuilder
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