pub struct ListPartitionReassignmentsOptions { /* private fields */ }Expand description
Options for Admin::list_partition_reassignments.
Corresponds to
org.apache.kafka.clients.admin.ListPartitionReassignmentsOptions. In Java
this class only extends AbstractOptions (a timeout_ms field) with no
additional fields.
Implementations§
Source§impl ListPartitionReassignmentsOptions
impl ListPartitionReassignmentsOptions
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.
Trait Implementations§
Source§impl Clone for ListPartitionReassignmentsOptions
impl Clone for ListPartitionReassignmentsOptions
Source§fn clone(&self) -> ListPartitionReassignmentsOptions
fn clone(&self) -> ListPartitionReassignmentsOptions
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 Default for ListPartitionReassignmentsOptions
impl Default for ListPartitionReassignmentsOptions
Source§fn default() -> ListPartitionReassignmentsOptions
fn default() -> ListPartitionReassignmentsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListPartitionReassignmentsOptions
impl PartialEq for ListPartitionReassignmentsOptions
Source§fn eq(&self, other: &ListPartitionReassignmentsOptions) -> bool
fn eq(&self, other: &ListPartitionReassignmentsOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ListPartitionReassignmentsOptions
impl StructuralPartialEq for ListPartitionReassignmentsOptions
Auto Trait Implementations§
impl Freeze for ListPartitionReassignmentsOptions
impl RefUnwindSafe for ListPartitionReassignmentsOptions
impl Send for ListPartitionReassignmentsOptions
impl Sync for ListPartitionReassignmentsOptions
impl Unpin for ListPartitionReassignmentsOptions
impl UnsafeUnpin for ListPartitionReassignmentsOptions
impl UnwindSafe for ListPartitionReassignmentsOptions
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