pub struct DescribeClusterOptions { /* private fields */ }Expand description
Options for Admin::describe_cluster.
Corresponds to org.apache.kafka.clients.admin.DescribeClusterOptions.
Implementations§
Source§impl DescribeClusterOptions
impl DescribeClusterOptions
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.
Set whether to include cluster authorized operations.
Whether to include cluster authorized operations.
Sourcepub fn set_include_fenced_brokers(self, include_fenced_brokers: bool) -> Self
pub fn set_include_fenced_brokers(self, include_fenced_brokers: bool) -> Self
Set whether to include fenced brokers when they are not fenced from the cluster (only supported by the broker endpoint at DescribeCluster v2+).
Sourcepub fn include_fenced_brokers(&self) -> bool
pub fn include_fenced_brokers(&self) -> bool
Whether to include fenced brokers.
Trait Implementations§
Source§impl Clone for DescribeClusterOptions
impl Clone for DescribeClusterOptions
Source§fn clone(&self) -> DescribeClusterOptions
fn clone(&self) -> DescribeClusterOptions
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 DescribeClusterOptions
impl Debug for DescribeClusterOptions
Source§impl Default for DescribeClusterOptions
impl Default for DescribeClusterOptions
Source§fn default() -> DescribeClusterOptions
fn default() -> DescribeClusterOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for DescribeClusterOptions
impl PartialEq for DescribeClusterOptions
impl Eq for DescribeClusterOptions
impl StructuralPartialEq for DescribeClusterOptions
Auto Trait Implementations§
impl Freeze for DescribeClusterOptions
impl RefUnwindSafe for DescribeClusterOptions
impl Send for DescribeClusterOptions
impl Sync for DescribeClusterOptions
impl Unpin for DescribeClusterOptions
impl UnsafeUnpin for DescribeClusterOptions
impl UnwindSafe for DescribeClusterOptions
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