Struct nats::jetstream::StreamState[][src]

pub struct StreamState {
    pub messages: u64,
    pub bytes: u64,
    pub first_seq: u64,
    pub first_ts: DateTime,
    pub last_seq: u64,
    pub last_ts: DateTime,
    pub consumer_count: usize,
}

information about the given stream.

Fields

messages: u64

The number of messages contained in this stream

bytes: u64

The number of bytes of all messages contained in this stream

first_seq: u64

The lowest sequence number still present in this stream

first_ts: DateTime

The time associated with the oldest message still present in this stream

last_seq: u64

The last sequence number assigned to a message in this stream

last_ts: DateTime

The time that the last message was received by this stream

consumer_count: usize

The number of consumers configured to consume this stream

Trait Implementations

impl Clone for StreamState[src]

impl Copy for StreamState[src]

impl Debug for StreamState[src]

impl Default for StreamState[src]

impl<'de> Deserialize<'de> for StreamState[src]

impl Serialize for StreamState[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,