pub struct AlterConfigOp { /* private fields */ }Expand description
A class representing an alter configuration entry containing name, value and operation type.
Corresponds to org.apache.kafka.clients.admin.AlterConfigOp.
Implementations§
Source§impl AlterConfigOp
impl AlterConfigOp
Sourcepub fn new(config_entry: ConfigEntry, operation_type: OpType) -> Self
pub fn new(config_entry: ConfigEntry, operation_type: OpType) -> Self
Creates a new alter config operation.
Sourcepub fn config_entry(&self) -> &ConfigEntry
pub fn config_entry(&self) -> &ConfigEntry
Returns the config entry.
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 Display for AlterConfigOp
impl Display 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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more