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: 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: 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: String

Trait Implementations

Used to do Value to user type conversion Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more