pub struct StreamInfoGroup {
pub name: String,
pub consumers: usize,
pub pending: usize,
pub last_delivered_id: String,
}
Available on crate feature
streams
only.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.
Trait Implementations§
Source§impl Clone for StreamInfoGroup
impl Clone for StreamInfoGroup
Source§fn clone(&self) -> StreamInfoGroup
fn clone(&self) -> StreamInfoGroup
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 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