pub struct AlterConfigOp {
pub name: String,
pub op_type: AlterConfigOpType,
pub value: Option<String>,
}Expand description
One config mutation used with KafkaAdmin::incremental_alter_configs.
Fields§
§name: StringConfig key.
op_type: AlterConfigOpTypeOperation to apply.
value: Option<String>Config value for operations that require one.
Implementations§
Trait Implementations§
Source§impl Clone for AlterConfigOp
impl Clone for AlterConfigOp
Source§fn clone(&self) -> AlterConfigOp
fn clone(&self) -> AlterConfigOp
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 AlterConfigOp
impl Debug for AlterConfigOp
Source§impl PartialEq for AlterConfigOp
impl PartialEq for AlterConfigOp
impl Eq for AlterConfigOp
impl StructuralPartialEq for AlterConfigOp
Auto Trait Implementations§
impl Freeze for AlterConfigOp
impl RefUnwindSafe for AlterConfigOp
impl Send for AlterConfigOp
impl Sync for AlterConfigOp
impl Unpin for AlterConfigOp
impl UnsafeUnpin for AlterConfigOp
impl UnwindSafe for AlterConfigOp
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.