#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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
Trait Implementations§
source§impl Builder for CreatableTopicConfigs
impl Builder for CreatableTopicConfigs
§type Builder = CreatableTopicConfigsBuilder
type Builder = CreatableTopicConfigsBuilder
The
derive_builder::Builder
type for this protocol item.source§impl Clone for CreatableTopicConfigs
impl Clone for CreatableTopicConfigs
source§fn clone(&self) -> CreatableTopicConfigs
fn clone(&self) -> CreatableTopicConfigs
Returns a copy of the value. Read more
1.0.0 · 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 Decodable for CreatableTopicConfigs
impl Decodable for CreatableTopicConfigs
source§impl Default for CreatableTopicConfigs
impl Default for CreatableTopicConfigs
source§impl Encodable for CreatableTopicConfigs
impl Encodable for CreatableTopicConfigs
source§fn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
fn encode<B: ByteBufMut>( &self, buf: &mut B, version: i16 ) -> Result<(), EncodeError>
Encode the message into the target buffer.
source§fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
Compute the total size of the message when encoded.
source§impl Message for CreatableTopicConfigs
impl Message for CreatableTopicConfigs
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
The valid versions for this message.
source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
The deprecated versions for this message.
source§impl PartialEq for CreatableTopicConfigs
impl PartialEq for CreatableTopicConfigs
source§fn eq(&self, other: &CreatableTopicConfigs) -> bool
fn eq(&self, other: &CreatableTopicConfigs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatableTopicConfigs
Auto Trait Implementations§
impl RefUnwindSafe for CreatableTopicConfigs
impl Send for CreatableTopicConfigs
impl Sync for CreatableTopicConfigs
impl Unpin 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