[][src]Struct redis::streams::StreamInfoStreamReply

pub struct StreamInfoStreamReply {
    pub last_generated_id: String,
    pub radix_tree_keys: usize,
    pub groups: usize,
    pub length: usize,
    pub first_entry: StreamId,
    pub last_entry: StreamId,
}
This is supported on crate feature streams only.

Reply type used with xinfo_stream command, containing general information about the stream stored at the specified key.

The very first and last IDs in the stream are shown, in order to give some sense about what is the stream content.

Fields

last_generated_id: String

The last generated ID that may not be the same as the last entry ID in case some entry was deleted.

radix_tree_keys: usize

Details about the radix tree representing the stream mostly useful for optimization and debugging tasks.

groups: usize

The number of consumer groups associated with the stream.

length: usize

Number of elements of the stream.

first_entry: StreamId

The very first entry in the stream.

last_entry: StreamId

The very last entry in the stream.

Trait Implementations

impl Clone for StreamInfoStreamReply[src]

impl Debug for StreamInfoStreamReply[src]

impl Default for StreamInfoStreamReply[src]

impl FromRedisValue for StreamInfoStreamReply[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,