Struct redis_driver::XStreamInfo
source · [−]pub struct XStreamInfo {
pub length: usize,
pub radix_tree_keys: usize,
pub radix_tree_nodes: usize,
pub groups: usize,
pub last_generated_id: String,
pub max_deleted_entry_id: String,
pub entries_added: usize,
pub first_entry: String,
pub last_entry: String,
}
Expand description
Stream info returned by the xinfo_stream
command.
Fields
length: usize
the number of entries in the stream (see xlen
)
radix_tree_keys: usize
the number of keys in the underlying radix data structure
radix_tree_nodes: usize
the number of nodes in the underlying radix data structure
groups: usize
the number of consumer groups defined for the stream
last_generated_id: String
the ID of the least-recently entry that was added to the stream
max_deleted_entry_id: String
the maximal entry ID that was deleted from the stream
entries_added: usize
the count of all entries added to the stream during its lifetime
first_entry: String
the ID and field-value tuples of the first entry in the stream
last_entry: String
the ID and field-value tuples of the last entry in the stream
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for XStreamInfo
impl Send for XStreamInfo
impl Sync for XStreamInfo
impl Unpin for XStreamInfo
impl UnwindSafe for XStreamInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more