pub struct Info {Show 14 fields
    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,
    pub paused: bool,
    pub pause_remaining: Option<Duration>,
}Expand description
Information about a consumer
Fields§
§stream_name: StringThe stream being consumed
name: StringThe consumer’s unique name
created: OffsetDateTimeThe time the consumer was created
config: ConfigThe consumer’s configuration
delivered: SequenceInfoStatistics for delivered messages
ack_floor: SequenceInfoStatistics for acknowledged messages
num_ack_pending: usizeThe number of messages delivered but not yet acknowledged
num_redelivered: usizeThe number of messages re-sent after acknowledgment was not received within the configured time threshold
num_waiting: usizeThe number of pull requests waiting for messages
num_pending: u64The number of messages pending delivery
cluster: Option<ClusterInfo>Information about the consumer’s cluster
push_bound: boolIndicates if any client is connected and receiving messages from a push consumer
paused: boolAvailable on crate feature 
server_2_11 only.Indicates if the consumer is paused
pause_remaining: Option<Duration>Available on crate feature 
server_2_11 only.The remaining time the consumer is paused
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
impl Eq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more