Struct nats::jetstream::ConsumerInfo[][src]

pub struct ConsumerInfo {
    pub stream_name: String,
    pub name: String,
    pub created: DateTime,
    pub config: ConsumerConfig,
    pub delivered: SequencePair,
    pub ack_floor: SequencePair,
    pub num_ack_pending: usize,
    pub num_redelivered: usize,
    pub num_waiting: usize,
    pub num_pending: u64,
    pub cluster: ClusterInfo,
}

Information about a consumer

Fields

stream_name: String

The stream being consumed

name: String

The consumer’s unique name

created: DateTime

The time the consumer was created

config: ConsumerConfig

The consumer’s configuration

delivered: SequencePair

Statistics for delivered messages

ack_floor: SequencePair

Statistics for acknowleged messages

num_ack_pending: usize

The difference between delivered and acknowledged messages

num_redelivered: usize

The number of messages re-sent after acknowledgement was not received within the configured time threshold

num_waiting: usize

The number of waiting

num_pending: u64

The number of pending

cluster: ClusterInfo

Information about the consumer’s cluster

Trait Implementations

impl Clone for ConsumerInfo[src]

impl Debug for ConsumerInfo[src]

impl Default for ConsumerInfo[src]

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

impl Serialize for ConsumerInfo[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>,