pub struct ConsumerInfo {
pub name: String,
pub pending: u64,
pub idle: u64,
}Expand description
Information about a consumer in a group
Fields§
§name: StringThe name of the consumer
pending: u64The number of pending messages for this consumer
idle: u64The idle time in milliseconds
Trait Implementations§
Source§impl Clone for ConsumerInfo
impl Clone for ConsumerInfo
Source§fn clone(&self) -> ConsumerInfo
fn clone(&self) -> ConsumerInfo
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 moreAuto Trait Implementations§
impl Freeze for ConsumerInfo
impl RefUnwindSafe for ConsumerInfo
impl Send for ConsumerInfo
impl Sync for ConsumerInfo
impl Unpin for ConsumerInfo
impl UnwindSafe for ConsumerInfo
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