pub struct DescribeTopicsOptions { /* private fields */ }Expand description
Options for Admin::describe_topics_with_topics.
Corresponds to org.apache.kafka.clients.admin.DescribeTopicsOptions.
Implementations§
Source§impl DescribeTopicsOptions
impl DescribeTopicsOptions
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 authorized operations for the described topics.
Whether to include authorized operations for the described topics.
Sourcepub fn set_partition_size_limit_per_response(
self,
partition_size_limit_per_response: i32,
) -> Self
pub fn set_partition_size_limit_per_response( self, partition_size_limit_per_response: i32, ) -> Self
Sets the maximum number of partitions to be returned in a single
response. Only effective when using topic names (not topic IDs), and
capped by the server-side max.request.partition.size.limit.
Sourcepub fn partition_size_limit_per_response(&self) -> i32
pub fn partition_size_limit_per_response(&self) -> i32
The maximum number of partitions per response.
Trait Implementations§
Source§impl Clone for DescribeTopicsOptions
impl Clone for DescribeTopicsOptions
Source§fn clone(&self) -> DescribeTopicsOptions
fn clone(&self) -> DescribeTopicsOptions
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 DescribeTopicsOptions
impl Debug for DescribeTopicsOptions
Source§impl Default for DescribeTopicsOptions
impl Default for DescribeTopicsOptions
Source§impl PartialEq for DescribeTopicsOptions
impl PartialEq for DescribeTopicsOptions
impl Eq for DescribeTopicsOptions
impl StructuralPartialEq for DescribeTopicsOptions
Auto Trait Implementations§
impl Freeze for DescribeTopicsOptions
impl RefUnwindSafe for DescribeTopicsOptions
impl Send for DescribeTopicsOptions
impl Sync for DescribeTopicsOptions
impl Unpin for DescribeTopicsOptions
impl UnsafeUnpin for DescribeTopicsOptions
impl UnwindSafe for DescribeTopicsOptions
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