pub struct PerformanceDataPoint {
pub timestamp: DateTime<Utc>,
pub operation_type: String,
pub duration_ms: u64,
pub memory_usage_mb: f64,
pub success: bool,
pub metadata: HashMap<String, Value>,
}Expand description
Individual performance data point
Fields§
§timestamp: DateTime<Utc>Timestamp
operation_type: StringOperation type
duration_ms: u64Duration in milliseconds
memory_usage_mb: f64Memory usage at time of operation
success: boolSuccess indicator
metadata: HashMap<String, Value>Additional metadata
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