pub struct ListTopicsOptions { /* private fields */ }Expand description
Options for Admin::list_topics.
Corresponds to org.apache.kafka.clients.admin.ListTopicsOptions.
Implementations§
Source§impl ListTopicsOptions
impl ListTopicsOptions
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_list_internal(self, list_internal: bool) -> Self
pub fn set_list_internal(self, list_internal: bool) -> Self
Set whether we should list internal topics.
Sourcepub fn should_list_internal(&self) -> bool
pub fn should_list_internal(&self) -> bool
Return true if we should list internal topics.
Trait Implementations§
Source§impl Clone for ListTopicsOptions
impl Clone for ListTopicsOptions
Source§fn clone(&self) -> ListTopicsOptions
fn clone(&self) -> ListTopicsOptions
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 ListTopicsOptions
impl Debug for ListTopicsOptions
Source§impl Default for ListTopicsOptions
impl Default for ListTopicsOptions
Source§fn default() -> ListTopicsOptions
fn default() -> ListTopicsOptions
Returns the “default value” for a type. Read more
Source§impl Display for ListTopicsOptions
impl Display for ListTopicsOptions
Source§impl PartialEq for ListTopicsOptions
impl PartialEq for ListTopicsOptions
impl Eq for ListTopicsOptions
impl StructuralPartialEq for ListTopicsOptions
Auto Trait Implementations§
impl Freeze for ListTopicsOptions
impl RefUnwindSafe for ListTopicsOptions
impl Send for ListTopicsOptions
impl Sync for ListTopicsOptions
impl Unpin for ListTopicsOptions
impl UnsafeUnpin for ListTopicsOptions
impl UnwindSafe for ListTopicsOptions
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