pub struct PerformanceMetric {
pub operation: String,
pub duration: Duration,
pub timestamp: Instant,
pub success: bool,
}
Expand description
Performance metrics for tracking optimization effectiveness
Fields§
§operation: String
§duration: Duration
§timestamp: Instant
§success: bool
Trait Implementations§
Source§impl Clone for PerformanceMetric
impl Clone for PerformanceMetric
Source§fn clone(&self) -> PerformanceMetric
fn clone(&self) -> PerformanceMetric
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 moreAuto Trait Implementations§
impl Freeze for PerformanceMetric
impl RefUnwindSafe for PerformanceMetric
impl Send for PerformanceMetric
impl Sync for PerformanceMetric
impl Unpin for PerformanceMetric
impl UnwindSafe for PerformanceMetric
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