pub struct ConfigEntry {
pub name: String,
pub value: Option<String>,
pub read_only: bool,
pub config_source: i8,
pub is_sensitive: bool,
pub config_type: Option<i8>,
pub documentation: Option<String>,
}Expand description
One Kafka configuration entry returned by KafkaAdmin::describe_configs.
Fields§
§name: StringConfig key.
value: Option<String>Config value. Sensitive entries are usually returned as None.
read_only: boolWhether Kafka reports the config as read-only.
config_source: i8Broker protocol config source value.
is_sensitive: boolWhether the broker marks the config as sensitive.
config_type: Option<i8>Broker protocol config type value when supported.
documentation: Option<String>Broker-supplied config documentation when available.
Trait Implementations§
Source§impl Clone for ConfigEntry
impl Clone for ConfigEntry
Source§fn clone(&self) -> ConfigEntry
fn clone(&self) -> ConfigEntry
Returns a duplicate 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 ConfigEntry
impl Debug for ConfigEntry
Source§impl PartialEq for ConfigEntry
impl PartialEq for ConfigEntry
impl Eq for ConfigEntry
impl StructuralPartialEq for ConfigEntry
Auto Trait Implementations§
impl Freeze for ConfigEntry
impl RefUnwindSafe for ConfigEntry
impl Send for ConfigEntry
impl Sync for ConfigEntry
impl Unpin for ConfigEntry
impl UnsafeUnpin for ConfigEntry
impl UnwindSafe for ConfigEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.