pub struct ListGroupsOptions { /* private fields */ }Expand description
Options for Admin::list_groups.
Implementations§
Source§impl ListGroupsOptions
impl ListGroupsOptions
Sourcepub fn for_consumer_groups() -> Self
pub fn for_consumer_groups() -> Self
Only consumer groups will be returned by list_groups().
This operation sets filters on group type and protocol type which select consumer groups.
Only share groups will be returned by list_groups().
This operation sets a filter on group type which select share groups.
Sourcepub fn for_streams_groups() -> Self
pub fn for_streams_groups() -> Self
Only streams groups will be returned by list_groups().
This operation sets a filter on group type which select streams groups.
Sourcepub fn in_group_states(self, group_states: HashSet<GroupState>) -> Self
pub fn in_group_states(self, group_states: HashSet<GroupState>) -> Self
Sourcepub fn with_protocol_types(self, protocol_types: HashSet<String>) -> Self
pub fn with_protocol_types(self, protocol_types: HashSet<String>) -> Self
Sourcepub fn with_types(self, types: HashSet<GroupType>) -> Self
pub fn with_types(self, types: HashSet<GroupType>) -> Self
Sourcepub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
pub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
Sourcepub fn group_states(&self) -> &HashSet<GroupState>
pub fn group_states(&self) -> &HashSet<GroupState>
Returns the list of group states that are requested or empty if no states have been specified.
Sourcepub fn protocol_types(&self) -> &HashSet<String>
pub fn protocol_types(&self) -> &HashSet<String>
Returns the list of protocol types that are requested or empty if no protocol types have been specified.
Sourcepub fn types(&self) -> &HashSet<GroupType>
pub fn types(&self) -> &HashSet<GroupType>
Returns the list of group types that are requested or empty if no types have been specified.
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.
Trait Implementations§
Source§impl Clone for ListGroupsOptions
impl Clone for ListGroupsOptions
Source§fn clone(&self) -> ListGroupsOptions
fn clone(&self) -> ListGroupsOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more