pub struct ConsumerPressureSnapshot {
pub consumer_id: String,
pub metrics: ConsumerPressureMetrics,
pub utilization: f64,
}Expand description
Observable pressure snapshot for one tracked consumer.
Fields§
§consumer_id: StringConsumer identifier supplied by the routing or dispatch subsystem.
metrics: ConsumerPressureMetricsLatest metrics recorded for the consumer.
utilization: f64Current in-flight utilization for the consumer.
Trait Implementations§
Source§impl Clone for ConsumerPressureSnapshot
impl Clone for ConsumerPressureSnapshot
Source§fn clone(&self) -> ConsumerPressureSnapshot
fn clone(&self) -> ConsumerPressureSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConsumerPressureSnapshot
impl Debug for ConsumerPressureSnapshot
Source§impl PartialEq for ConsumerPressureSnapshot
impl PartialEq for ConsumerPressureSnapshot
Source§fn eq(&self, other: &ConsumerPressureSnapshot) -> bool
fn eq(&self, other: &ConsumerPressureSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConsumerPressureSnapshot
Auto Trait Implementations§
impl Freeze for ConsumerPressureSnapshot
impl RefUnwindSafe for ConsumerPressureSnapshot
impl Send for ConsumerPressureSnapshot
impl Sync for ConsumerPressureSnapshot
impl Unpin for ConsumerPressureSnapshot
impl UnsafeUnpin for ConsumerPressureSnapshot
impl UnwindSafe for ConsumerPressureSnapshot
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