pub struct CreatableTopicConfigs {
pub name: KafkaString,
pub value: Option<KafkaString>,
pub read_only: bool,
pub config_source: i8,
pub is_sensitive: bool,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§name: KafkaStringThe configuration name.
value: Option<KafkaString>The configuration value.
read_only: boolTrue if the configuration is read-only.
config_source: i8The configuration source.
is_sensitive: boolTrue if this configuration is sensitive.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl CreatableTopicConfigs
impl CreatableTopicConfigs
pub fn with_name(self, value: KafkaString) -> Self
pub fn with_value(self, value: Option<KafkaString>) -> Self
pub fn with_read_only(self, value: bool) -> Self
pub fn with_config_source(self, value: i8) -> Self
pub fn with_is_sensitive(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 CreatableTopicConfigs
impl Clone for CreatableTopicConfigs
Source§fn clone(&self) -> CreatableTopicConfigs
fn clone(&self) -> CreatableTopicConfigs
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 CreatableTopicConfigs
impl Debug for CreatableTopicConfigs
Source§impl Default for CreatableTopicConfigs
impl Default for CreatableTopicConfigs
Source§impl PartialEq for CreatableTopicConfigs
impl PartialEq for CreatableTopicConfigs
Source§fn eq(&self, other: &CreatableTopicConfigs) -> bool
fn eq(&self, other: &CreatableTopicConfigs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatableTopicConfigs
Auto Trait Implementations§
impl !Freeze for CreatableTopicConfigs
impl RefUnwindSafe for CreatableTopicConfigs
impl Send for CreatableTopicConfigs
impl Sync for CreatableTopicConfigs
impl Unpin for CreatableTopicConfigs
impl UnsafeUnpin for CreatableTopicConfigs
impl UnwindSafe for CreatableTopicConfigs
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