pub struct AlterConfigsOptions { /* private fields */ }Expand description
Options for Admin::incremental_alter_configs.
Corresponds to org.apache.kafka.clients.admin.AlterConfigsOptions.
Implementations§
Source§impl AlterConfigsOptions
impl AlterConfigsOptions
Sourcepub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
pub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
Set the timeout in milliseconds for this operation, or None to use the
default API timeout for the AdminClient.
Sourcepub fn timeout_ms(&self) -> Option<i32>
pub fn timeout_ms(&self) -> Option<i32>
The timeout in milliseconds for this operation, or None if the default
API timeout should be used.
Sourcepub fn set_validate_only(self, validate_only: bool) -> Self
pub fn set_validate_only(self, validate_only: bool) -> Self
Set whether the request should be validated without altering the configs.
Sourcepub fn should_validate_only(&self) -> bool
pub fn should_validate_only(&self) -> bool
Whether the request should be validated without altering the configs.
Trait Implementations§
Source§impl Clone for AlterConfigsOptions
impl Clone for AlterConfigsOptions
Source§fn clone(&self) -> AlterConfigsOptions
fn clone(&self) -> AlterConfigsOptions
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 AlterConfigsOptions
impl Debug for AlterConfigsOptions
Source§impl Default for AlterConfigsOptions
impl Default for AlterConfigsOptions
Source§fn default() -> AlterConfigsOptions
fn default() -> AlterConfigsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlterConfigsOptions
impl PartialEq for AlterConfigsOptions
impl Eq for AlterConfigsOptions
impl StructuralPartialEq for AlterConfigsOptions
Auto Trait Implementations§
impl Freeze for AlterConfigsOptions
impl RefUnwindSafe for AlterConfigsOptions
impl Send for AlterConfigsOptions
impl Sync for AlterConfigsOptions
impl Unpin for AlterConfigsOptions
impl UnsafeUnpin for AlterConfigsOptions
impl UnwindSafe for AlterConfigsOptions
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