pub struct Info {
pub stream_name: String,
pub name: String,
pub created: OffsetDateTime,
pub config: Config,
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,
pub push_bound: bool,
}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: SequencePairStatistics for delivered messages
ack_floor: SequencePairStatistics for acknowleged messages
num_ack_pending: usizeThe difference between delivered and acknowledged messages
num_redelivered: usizeThe number of messages re-sent after acknowledgement was not received within the configured time threshold
num_waiting: usizeThe number of waiting
num_pending: u64The number of pending
cluster: ClusterInfoInformation about the consumer’s cluster
push_bound: boolIndicates if any client is connected and receiving messages from a push consumer
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
sourcefn 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 StructuralEq for Info
impl StructuralPartialEq for Info
Auto Trait Implementations
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more