Struct async_nats::jetstream::consumer::Info
source · pub struct Info {
pub stream_name: String,
pub name: String,
pub created: OffsetDateTime,
pub config: Config,
pub delivered: SequenceInfo,
pub ack_floor: SequenceInfo,
pub num_ack_pending: usize,
pub num_redelivered: usize,
pub num_waiting: usize,
pub num_pending: u64,
pub cluster: Option<ClusterInfo>,
pub push_bound: bool,
}
Expand description
Information about a consumer
Fields§
§stream_name: String
The stream being consumed
name: String
The consumer’s unique name
created: OffsetDateTime
The time the consumer was created
config: Config
The consumer’s configuration
delivered: SequenceInfo
Statistics for delivered messages
ack_floor: SequenceInfo
Statistics for acknowledged messages
num_ack_pending: usize
The difference between delivered and acknowledged messages
num_redelivered: usize
The number of messages re-sent after acknowledgment was not received within the configured time threshold
num_waiting: usize
The number of waiting
num_pending: u64
The number of pending
cluster: Option<ClusterInfo>
Information about the consumer’s cluster
push_bound: bool
Indicates if any client is connected and receiving messages from a push consumer
Trait Implementations§
source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more