pub struct DescribeConfigsResourceResult {
pub name: KafkaString,
pub value: Option<KafkaString>,
pub read_only: bool,
pub config_source: i8,
pub is_sensitive: bool,
pub synonyms: Vec<DescribeConfigsSynonym>,
pub config_type: i8,
pub documentation: Option<KafkaString>,
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.
synonyms: Vec<DescribeConfigsSynonym>The synonyms for this configuration key.
config_type: i8The configuration data type. Type can be one of the following values - BOOLEAN, STRING, INT, SHORT, LONG, DOUBLE, LIST, CLASS, PASSWORD.
documentation: Option<KafkaString>The configuration documentation.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl DescribeConfigsResourceResult
impl DescribeConfigsResourceResult
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 with_synonyms(self, value: Vec<DescribeConfigsSynonym>) -> Self
pub fn with_config_type(self, value: i8) -> Self
pub fn with_documentation(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 DescribeConfigsResourceResult
impl Clone for DescribeConfigsResourceResult
Source§fn clone(&self) -> DescribeConfigsResourceResult
fn clone(&self) -> DescribeConfigsResourceResult
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 PartialEq for DescribeConfigsResourceResult
impl PartialEq for DescribeConfigsResourceResult
Source§fn eq(&self, other: &DescribeConfigsResourceResult) -> bool
fn eq(&self, other: &DescribeConfigsResourceResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeConfigsResourceResult
Auto Trait Implementations§
impl !Freeze for DescribeConfigsResourceResult
impl RefUnwindSafe for DescribeConfigsResourceResult
impl Send for DescribeConfigsResourceResult
impl Sync for DescribeConfigsResourceResult
impl Unpin for DescribeConfigsResourceResult
impl UnsafeUnpin for DescribeConfigsResourceResult
impl UnwindSafe for DescribeConfigsResourceResult
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