pub struct QueuePerformanceMetrics {
pub queue_name: String,
pub current_depth: i64,
pub peak_depth: i64,
pub total_processed: u64,
pub total_failed: u64,
pub average_processing_time_ms: f64,
pub throughput_per_minute: f64,
pub last_activity: DateTime<Utc>,
}
Expand description
Queue performance metrics
Fields§
§queue_name: String
§current_depth: i64
§peak_depth: i64
§total_processed: u64
§total_failed: u64
§average_processing_time_ms: f64
§throughput_per_minute: f64
§last_activity: DateTime<Utc>
Trait Implementations§
Source§impl Clone for QueuePerformanceMetrics
impl Clone for QueuePerformanceMetrics
Source§fn clone(&self) -> QueuePerformanceMetrics
fn clone(&self) -> QueuePerformanceMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 QueuePerformanceMetrics
impl Debug for QueuePerformanceMetrics
Source§impl<'de> Deserialize<'de> for QueuePerformanceMetrics
impl<'de> Deserialize<'de> for QueuePerformanceMetrics
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
Auto Trait Implementations§
impl Freeze for QueuePerformanceMetrics
impl RefUnwindSafe for QueuePerformanceMetrics
impl Send for QueuePerformanceMetrics
impl Sync for QueuePerformanceMetrics
impl Unpin for QueuePerformanceMetrics
impl UnwindSafe for QueuePerformanceMetrics
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