pub struct XConsumerInfo {
pub name: String,
pub pending: usize,
pub idle_millis: u64,
}Expand description
Result entry for the xinfo_consumers command.
Fields§
§name: Stringthe consumer’s name
pending: usizethe number of pending messages for the client, which are messages that were delivered but are yet to be acknowledged
idle_millis: u64the number of milliseconds that have passed since the consumer last interacted with the server
Trait Implementations§
Source§impl FromValue for XConsumerInfo
impl FromValue for XConsumerInfo
Auto Trait Implementations§
impl Freeze for XConsumerInfo
impl RefUnwindSafe for XConsumerInfo
impl Send for XConsumerInfo
impl Sync for XConsumerInfo
impl Unpin for XConsumerInfo
impl UnwindSafe for XConsumerInfo
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