Struct redis::streams::StreamInfoGroup
source · pub struct StreamInfoGroup {
pub name: String,
pub consumers: usize,
pub pending: usize,
pub last_delivered_id: String,
}
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 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 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