pub struct GroupListing { /* private fields */ }Expand description
One Kafka group returned by AdminClient::list_groups.
Implementations§
Source§impl GroupListing
impl GroupListing
Sourcepub fn protocol_type(&self) -> &str
pub fn protocol_type(&self) -> &str
Returns the group protocol type, such as consumer or connect.
Sourcepub fn coordinator_id(&self) -> i32
pub fn coordinator_id(&self) -> i32
Returns the broker ID that coordinates this group.
Sourcepub fn throttle_time(&self) -> Duration
pub fn throttle_time(&self) -> Duration
Returns the coordinator’s throttle time for the ListGroups request.
Trait Implementations§
Source§impl Clone for GroupListing
impl Clone for GroupListing
Source§fn clone(&self) -> GroupListing
fn clone(&self) -> GroupListing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GroupListing
impl Debug for GroupListing
impl Eq for GroupListing
Source§impl PartialEq for GroupListing
impl PartialEq for GroupListing
impl StructuralPartialEq for GroupListing
Auto Trait Implementations§
impl Freeze for GroupListing
impl RefUnwindSafe for GroupListing
impl Send for GroupListing
impl Sync for GroupListing
impl Unpin for GroupListing
impl UnsafeUnpin for GroupListing
impl UnwindSafe for GroupListing
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