pub struct AlterableConfig {
pub name: KafkaString,
pub value: Option<KafkaString>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe configuration key name.
value: Option<KafkaString>The value to set for the configuration key.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl AlterableConfig
impl AlterableConfig
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_value(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 AlterableConfig
impl Clone for AlterableConfig
Source§fn clone(&self) -> AlterableConfig
fn clone(&self) -> AlterableConfig
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 AlterableConfig
impl Debug for AlterableConfig
Source§impl Default for AlterableConfig
impl Default for AlterableConfig
Source§impl PartialEq for AlterableConfig
impl PartialEq for AlterableConfig
Source§fn eq(&self, other: &AlterableConfig) -> bool
fn eq(&self, other: &AlterableConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlterableConfig
Auto Trait Implementations§
impl !Freeze for AlterableConfig
impl RefUnwindSafe for AlterableConfig
impl Send for AlterableConfig
impl Sync for AlterableConfig
impl Unpin for AlterableConfig
impl UnsafeUnpin for AlterableConfig
impl UnwindSafe for AlterableConfig
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