pub struct Config { /* private fields */ }Expand description
Java org.apache.kafka.clients.admin.Config: entries for one resource.
Self::new is Java Config(Collection). Self::entries /
Self::get are Java entries() / get(String). Use with
crate::Admin::alter_configs_with (alterConfigs(Map) one resource)
and DescribeConfigsResult::config.
Implementations§
Source§impl Config
impl Config
Sourcepub fn new(entries: impl IntoIterator<Item = ConfigEntry>) -> Self
pub fn new(entries: impl IntoIterator<Item = ConfigEntry>) -> Self
Java Config(Collection).
Sourcepub fn entries(&self) -> &[ConfigEntry]
pub fn entries(&self) -> &[ConfigEntry]
Java Config.entries().
Sourcepub fn get(&self, name: &str) -> Option<&ConfigEntry>
pub fn get(&self, name: &str) -> Option<&ConfigEntry>
Java Config.get(String).
Trait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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