pub struct DescribeClusterOptions { /* private fields */ }Expand description
Options for Admin::describe_cluster.
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
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.
Specify if authorized operations should be included in the response. Note that some older brokers cannot supply this information even if it is requested.
§Returns
true if authorized operations are requested.
Sourcepub fn set_include_fenced_brokers(self, include_fenced_brokers: bool) -> Self
pub fn set_include_fenced_brokers(self, include_fenced_brokers: bool) -> Self
Sourcepub fn include_fenced_brokers(&self) -> bool
pub fn include_fenced_brokers(&self) -> bool
Specify if fenced brokers should be included in the response. Note that some older brokers cannot supply this information even if it is requested.
§Returns
true if fenced brokers are requested.
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
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