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: StreamEntry<String>,
pub last_entry: StreamEntry<String>,
pub recorded_first_entry_id: String,
}Expand description
Stream info returned by the xinfo_stream command.
Fields
length: usizethe number of entries in the stream (see xlen)
radix_tree_keys: usizethe number of keys in the underlying radix data structure
radix_tree_nodes: usizethe number of nodes in the underlying radix data structure
groups: usizethe number of consumer groups defined for the stream
last_generated_id: Stringthe ID of the least-recently entry that was added to the stream
max_deleted_entry_id: Stringthe maximal entry ID that was deleted from the stream
entries_added: usizethe count of all entries added to the stream during its lifetime
first_entry: StreamEntry<String>the ID and field-value tuples of the first entry in the stream
last_entry: StreamEntry<String>the ID and field-value tuples of the last entry in the stream
recorded_first_entry_id: StringTrait 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