pub struct PerformanceDataPoint {
pub timestamp: DateTime<Utc>,
pub throughput: f64,
pub queue_depth: usize,
pub error_rate: f64,
pub avg_processing_time_ms: f64,
}Expand description
Performance data point for trending
Fields§
§timestamp: DateTime<Utc>Timestamp
throughput: f64Throughput at this point
queue_depth: usizeQueue depth at this point
error_rate: f64Error rate at this point
avg_processing_time_ms: f64Average processing time
Trait Implementations§
Source§impl Clone for PerformanceDataPoint
impl Clone for PerformanceDataPoint
Source§fn clone(&self) -> PerformanceDataPoint
fn clone(&self) -> PerformanceDataPoint
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 PerformanceDataPoint
impl Debug for PerformanceDataPoint
Source§impl<'de> Deserialize<'de> for PerformanceDataPoint
impl<'de> Deserialize<'de> for PerformanceDataPoint
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 PerformanceDataPoint
impl RefUnwindSafe for PerformanceDataPoint
impl Send for PerformanceDataPoint
impl Sync for PerformanceDataPoint
impl Unpin for PerformanceDataPoint
impl UnwindSafe for PerformanceDataPoint
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