pub struct ConfigResourceConfig {
pub resource: ConfigResource,
pub entries: BTreeMap<String, ConfigEntry>,
}Expand description
Described configuration for one Kafka resource.
Fields§
§resource: ConfigResourceResource that was described.
entries: BTreeMap<String, ConfigEntry>Config entries keyed by config name.
Implementations§
Source§impl ConfigResourceConfig
impl ConfigResourceConfig
Sourcepub fn entry(&self, name: &str) -> Option<&ConfigEntry>
pub fn entry(&self, name: &str) -> Option<&ConfigEntry>
Returns a config entry by name.
Trait Implementations§
Source§impl Clone for ConfigResourceConfig
impl Clone for ConfigResourceConfig
Source§fn clone(&self) -> ConfigResourceConfig
fn clone(&self) -> ConfigResourceConfig
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 ConfigResourceConfig
impl Debug for ConfigResourceConfig
Source§impl PartialEq for ConfigResourceConfig
impl PartialEq for ConfigResourceConfig
impl Eq for ConfigResourceConfig
impl StructuralPartialEq for ConfigResourceConfig
Auto Trait Implementations§
impl Freeze for ConfigResourceConfig
impl RefUnwindSafe for ConfigResourceConfig
impl Send for ConfigResourceConfig
impl Sync for ConfigResourceConfig
impl Unpin for ConfigResourceConfig
impl UnsafeUnpin for ConfigResourceConfig
impl UnwindSafe for ConfigResourceConfig
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.