#[non_exhaustive]pub struct CreatableTopicConfigs {
pub name: StrBytes,
pub value: Option<StrBytes>,
pub read_only: bool,
pub config_source: i8,
pub is_sensitive: bool,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0-7
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: StrBytes
The configuration name.
Supported API versions: 5-7
value: Option<StrBytes>
The configuration value.
Supported API versions: 5-7
read_only: bool
True if the configuration is read-only.
Supported API versions: 5-7
config_source: i8
The configuration source.
Supported API versions: 5-7
is_sensitive: bool
True if this configuration is sensitive.
Supported API versions: 5-7
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Implementations§
Source§impl CreatableTopicConfigs
impl CreatableTopicConfigs
Sourcepub fn with_name(self, value: StrBytes) -> Self
pub fn with_name(self, value: StrBytes) -> Self
Sets name
to the passed value.
The configuration name.
Supported API versions: 5-7
Sourcepub fn with_value(self, value: Option<StrBytes>) -> Self
pub fn with_value(self, value: Option<StrBytes>) -> Self
Sets value
to the passed value.
The configuration value.
Supported API versions: 5-7
Sourcepub fn with_read_only(self, value: bool) -> Self
pub fn with_read_only(self, value: bool) -> Self
Sets read_only
to the passed value.
True if the configuration is read-only.
Supported API versions: 5-7
Sourcepub fn with_config_source(self, value: i8) -> Self
pub fn with_config_source(self, value: i8) -> Self
Sets config_source
to the passed value.
The configuration source.
Supported API versions: 5-7
Sourcepub fn with_is_sensitive(self, value: bool) -> Self
pub fn with_is_sensitive(self, value: bool) -> Self
Sets is_sensitive
to the passed value.
True if this configuration is sensitive.
Supported API versions: 5-7
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for CreatableTopicConfigs
impl Clone for CreatableTopicConfigs
Source§fn clone(&self) -> CreatableTopicConfigs
fn clone(&self) -> CreatableTopicConfigs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CreatableTopicConfigs
impl Debug for CreatableTopicConfigs
Source§impl Decodable for CreatableTopicConfigs
Available on crate feature client
only.
impl Decodable for CreatableTopicConfigs
client
only.Source§impl Default for CreatableTopicConfigs
impl Default for CreatableTopicConfigs
Source§impl Encodable for CreatableTopicConfigs
Available on crate feature broker
only.
impl Encodable for CreatableTopicConfigs
broker
only.