pub struct AlterClientQuotasOptions { /* private fields */ }Expand description
Options for Admin::alter_client_quotas.
Implementations§
Source§impl AlterClientQuotasOptions
impl AlterClientQuotasOptions
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 validate_only(&self) -> bool
pub fn validate_only(&self) -> bool
Returns whether the request should be validated without altering the configs.
Trait Implementations§
Source§impl Clone for AlterClientQuotasOptions
impl Clone for AlterClientQuotasOptions
Source§fn clone(&self) -> AlterClientQuotasOptions
fn clone(&self) -> AlterClientQuotasOptions
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 AlterClientQuotasOptions
impl Debug for AlterClientQuotasOptions
Source§impl Default for AlterClientQuotasOptions
impl Default for AlterClientQuotasOptions
Source§fn default() -> AlterClientQuotasOptions
fn default() -> AlterClientQuotasOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlterClientQuotasOptions
impl RefUnwindSafe for AlterClientQuotasOptions
impl Send for AlterClientQuotasOptions
impl Sync for AlterClientQuotasOptions
impl Unpin for AlterClientQuotasOptions
impl UnsafeUnpin for AlterClientQuotasOptions
impl UnwindSafe for AlterClientQuotasOptions
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