#[non_exhaustive]pub struct CreatableTopicConfigs {
pub name: String,
pub value: Option<String>,
pub read_only: bool,
pub config_source: i8,
pub is_sensitive: bool,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
CreatableTopicConfigs (nested in CreateTopicsResponse).
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: StringThe configuration name.
value: Option<String>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>Tagged fields not (yet) known to this crate, kept raw.
Implementations§
Source§impl CreatableTopicConfigs
impl CreatableTopicConfigs
Sourcepub fn encode(
&self,
buf: &mut impl BufMut,
version: i16,
) -> Result<(), EncodeError>
pub fn encode( &self, buf: &mut impl BufMut, version: i16, ) -> Result<(), EncodeError>
Encode this CreatableTopicConfigs at version.
Sourcepub fn decode(buf: &mut impl Buf, version: i16) -> Result<Self, DecodeError>
pub fn decode(buf: &mut impl Buf, version: i16) -> Result<Self, DecodeError>
Decode one CreatableTopicConfigs, bounding allocation by the default
Limits derived from buf’s remaining length.
Sourcepub fn decode_with_limits(
buf: &mut impl Buf,
version: i16,
limits: Limits,
) -> Result<Self, DecodeError>
pub fn decode_with_limits( buf: &mut impl Buf, version: i16, limits: Limits, ) -> Result<Self, DecodeError>
Decode one CreatableTopicConfigs under limits.
Sourcepub fn decode_with_budget(
buf: &mut impl Buf,
version: i16,
budget: &mut Budget,
) -> Result<Self, DecodeError>
pub fn decode_with_budget( buf: &mut impl Buf, version: i16, budget: &mut Budget, ) -> Result<Self, DecodeError>
Decode one CreatableTopicConfigs against an existing budget.
Trait Implementations§
Source§impl Clone for CreatableTopicConfigs
impl Clone for CreatableTopicConfigs
Source§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
impl StructuralPartialEq for CreatableTopicConfigs
Auto Trait Implementations§
impl Forget for CreatableTopicConfigs
impl Freeze for CreatableTopicConfigs
impl Move 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