pub struct AlterConfigsOptions { /* private fields */ }Expand description
Options for Admin::incremental_alter_configs.
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
Sourcepub fn timeout_ms(&self) -> Option<i32>
pub fn timeout_ms(&self) -> Option<i32>
Returns the timeout in milliseconds for this operation, or None if the
default API timeout for the AdminClient should be used.
Sourcepub fn set_validate_only(self, validate_only: bool) -> Self
pub fn set_validate_only(self, validate_only: bool) -> Self
Sourcepub fn should_validate_only(&self) -> bool
pub fn should_validate_only(&self) -> bool
Returns true if 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
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