pub struct UpdateFeaturesOptions { /* private fields */ }Expand description
Options for Admin::update_features.
Corresponds to org.apache.kafka.clients.admin.UpdateFeaturesOptions.
Implementations§
Source§impl UpdateFeaturesOptions
impl UpdateFeaturesOptions
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 only be validated, without performing the upgrade or downgrade.
Mirrors UpdateFeaturesOptions.validateOnly(boolean).
Sourcepub fn validate_only(&self) -> bool
pub fn validate_only(&self) -> bool
Whether the request should only be validated.
Mirrors UpdateFeaturesOptions.validateOnly().
Trait Implementations§
Source§impl Clone for UpdateFeaturesOptions
impl Clone for UpdateFeaturesOptions
Source§fn clone(&self) -> UpdateFeaturesOptions
fn clone(&self) -> UpdateFeaturesOptions
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 UpdateFeaturesOptions
impl Debug for UpdateFeaturesOptions
Source§impl Default for UpdateFeaturesOptions
impl Default for UpdateFeaturesOptions
Source§fn default() -> UpdateFeaturesOptions
fn default() -> UpdateFeaturesOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateFeaturesOptions
impl PartialEq for UpdateFeaturesOptions
impl Eq for UpdateFeaturesOptions
impl StructuralPartialEq for UpdateFeaturesOptions
Auto Trait Implementations§
impl Freeze for UpdateFeaturesOptions
impl RefUnwindSafe for UpdateFeaturesOptions
impl Send for UpdateFeaturesOptions
impl Sync for UpdateFeaturesOptions
impl Unpin for UpdateFeaturesOptions
impl UnsafeUnpin for UpdateFeaturesOptions
impl UnwindSafe for UpdateFeaturesOptions
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