pub struct PerformanceSnapshot {
pub id: String,
pub timestamp: DateTime<Utc>,
pub metrics: PerformanceMetrics,
pub active_bottlenecks: Vec<String>,
}Expand description
Performance snapshot
A snapshot of performance metrics at a point in time.
Fields§
§id: StringSnapshot ID
timestamp: DateTime<Utc>Timestamp
metrics: PerformanceMetricsMetrics
active_bottlenecks: Vec<String>Active bottlenecks
Trait Implementations§
Source§impl Clone for PerformanceSnapshot
impl Clone for PerformanceSnapshot
Source§fn clone(&self) -> PerformanceSnapshot
fn clone(&self) -> PerformanceSnapshot
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 PerformanceSnapshot
impl Debug for PerformanceSnapshot
Source§impl<'de> Deserialize<'de> for PerformanceSnapshot
impl<'de> Deserialize<'de> for PerformanceSnapshot
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 PerformanceSnapshot
impl RefUnwindSafe for PerformanceSnapshot
impl Send for PerformanceSnapshot
impl Sync for PerformanceSnapshot
impl Unpin for PerformanceSnapshot
impl UnwindSafe for PerformanceSnapshot
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