pub struct TopicConfigAlteration { /* private fields */ }Expand description
Incremental configuration changes for one Kafka topic.
Implementations§
Source§impl TopicConfigAlteration
impl TopicConfigAlteration
Sourcepub fn set(self, name: impl Into<String>, value: impl Into<String>) -> Self
pub fn set(self, name: impl Into<String>, value: impl Into<String>) -> Self
Sets a configuration value.
Sourcepub fn append(self, name: impl Into<String>, value: impl Into<String>) -> Self
pub fn append(self, name: impl Into<String>, value: impl Into<String>) -> Self
Appends values to a list configuration.
Sourcepub fn subtract(self, name: impl Into<String>, value: impl Into<String>) -> Self
pub fn subtract(self, name: impl Into<String>, value: impl Into<String>) -> Self
Subtracts values from a list configuration.
Sourcepub fn operations(&self) -> &[ConfigAlterOperation]
pub fn operations(&self) -> &[ConfigAlterOperation]
Returns operations in request order.
Trait Implementations§
Source§impl Clone for TopicConfigAlteration
impl Clone for TopicConfigAlteration
Source§fn clone(&self) -> TopicConfigAlteration
fn clone(&self) -> TopicConfigAlteration
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 Debug for TopicConfigAlteration
impl Debug for TopicConfigAlteration
impl Eq for TopicConfigAlteration
Source§impl PartialEq for TopicConfigAlteration
impl PartialEq for TopicConfigAlteration
impl StructuralPartialEq for TopicConfigAlteration
Auto Trait Implementations§
impl Freeze for TopicConfigAlteration
impl RefUnwindSafe for TopicConfigAlteration
impl Send for TopicConfigAlteration
impl Sync for TopicConfigAlteration
impl Unpin for TopicConfigAlteration
impl UnsafeUnpin for TopicConfigAlteration
impl UnwindSafe for TopicConfigAlteration
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