pub struct UpdatableFeatureResult {
pub feature: KafkaString,
pub error_code: i16,
pub error_message: Option<KafkaString>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§feature: KafkaStringThe name of the finalized feature.
error_code: i16The feature update error code or 0 if the feature update succeeded.
error_message: Option<KafkaString>The feature update error, or null if the feature update succeeded.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl UpdatableFeatureResult
impl UpdatableFeatureResult
pub fn with_feature(self, value: KafkaString) -> Self
pub fn with_error_code(self, value: i16) -> Self
pub fn with_error_message(self, value: Option<KafkaString>) -> 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 UpdatableFeatureResult
impl Clone for UpdatableFeatureResult
Source§fn clone(&self) -> UpdatableFeatureResult
fn clone(&self) -> UpdatableFeatureResult
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 UpdatableFeatureResult
impl Debug for UpdatableFeatureResult
Source§impl Default for UpdatableFeatureResult
impl Default for UpdatableFeatureResult
Source§impl PartialEq for UpdatableFeatureResult
impl PartialEq for UpdatableFeatureResult
Source§fn eq(&self, other: &UpdatableFeatureResult) -> bool
fn eq(&self, other: &UpdatableFeatureResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdatableFeatureResult
Auto Trait Implementations§
impl !Freeze for UpdatableFeatureResult
impl RefUnwindSafe for UpdatableFeatureResult
impl Send for UpdatableFeatureResult
impl Sync for UpdatableFeatureResult
impl Unpin for UpdatableFeatureResult
impl UnsafeUnpin for UpdatableFeatureResult
impl UnwindSafe for UpdatableFeatureResult
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