pub struct UpdateFeaturesRequestData {
pub timeout_ms: i32,
pub feature_updates: Vec<FeatureUpdateKey>,
pub validate_only: bool,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§timeout_ms: i32How long to wait in milliseconds before timing out the request.
feature_updates: Vec<FeatureUpdateKey>The list of updates to finalized features.
validate_only: boolTrue if we should validate the request, but not perform the upgrade or downgrade.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl UpdateFeaturesRequestData
impl UpdateFeaturesRequestData
pub fn with_timeout_ms(self, value: i32) -> Self
pub fn with_feature_updates(self, value: Vec<FeatureUpdateKey>) -> Self
pub fn with_validate_only(self, value: bool) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for UpdateFeaturesRequestData
impl Clone for UpdateFeaturesRequestData
Source§fn clone(&self) -> UpdateFeaturesRequestData
fn clone(&self) -> UpdateFeaturesRequestData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateFeaturesRequestData
impl Debug for UpdateFeaturesRequestData
Source§impl Default for UpdateFeaturesRequestData
impl Default for UpdateFeaturesRequestData
Source§impl PartialEq for UpdateFeaturesRequestData
impl PartialEq for UpdateFeaturesRequestData
Source§fn eq(&self, other: &UpdateFeaturesRequestData) -> bool
fn eq(&self, other: &UpdateFeaturesRequestData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateFeaturesRequestData
Auto Trait Implementations§
impl Freeze for UpdateFeaturesRequestData
impl RefUnwindSafe for UpdateFeaturesRequestData
impl Send for UpdateFeaturesRequestData
impl Sync for UpdateFeaturesRequestData
impl Unpin for UpdateFeaturesRequestData
impl UnsafeUnpin for UpdateFeaturesRequestData
impl UnwindSafe for UpdateFeaturesRequestData
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