pub struct StreamInfoGroup {
pub name: String,
pub consumers: usize,
pub pending: usize,
pub last_delivered_id: String,
pub entries_read: Option<usize>,
pub lag: Option<usize>,
}
Expand description
A group parsed from xinfo_groups
command.
Fields§
§name: String
The group name.
consumers: usize
Number of consumers known in the group.
pending: usize
Number of pending messages (delivered but not yet acknowledged) in the group.
last_delivered_id: String
Last ID delivered to this group.
entries_read: Option<usize>
The logical “read counter” of the last entry delivered to group’s consumers
(or None
if the server does not provide the value).
lag: Option<usize>
The number of entries in the stream that are still waiting to be delivered to the
group’s consumers, or a None
when that number can’t be determined.
Trait Implementations§
Source§impl Clone for StreamInfoGroup
impl Clone for StreamInfoGroup
Source§fn clone(&self) -> StreamInfoGroup
fn clone(&self) -> StreamInfoGroup
Returns a copy 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 StreamInfoGroup
impl Debug for StreamInfoGroup
Source§impl Default for StreamInfoGroup
impl Default for StreamInfoGroup
Source§fn default() -> StreamInfoGroup
fn default() -> StreamInfoGroup
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamInfoGroup
impl RefUnwindSafe for StreamInfoGroup
impl Send for StreamInfoGroup
impl Sync for StreamInfoGroup
impl Unpin for StreamInfoGroup
impl UnwindSafe for StreamInfoGroup
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