pub struct MetricsReport {
pub total_errors: u32,
pub high_severity_errors: u32,
pub medium_severity_errors: u32,
pub low_severity_errors: u32,
pub memory_usage: usize,
pub timestamp: SystemTime,
}Expand description
Metrics report structure
Fields§
§total_errors: u32Total number of errors recorded
high_severity_errors: u32Number of high-severity errors
medium_severity_errors: u32Number of medium-severity errors
low_severity_errors: u32Number of low-severity errors
memory_usage: usizeCurrent memory usage in bytes
timestamp: SystemTimeTimestamp when the report was generated
Trait Implementations§
Source§impl Clone for MetricsReport
impl Clone for MetricsReport
Source§fn clone(&self) -> MetricsReport
fn clone(&self) -> MetricsReport
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 MetricsReport
impl RefUnwindSafe for MetricsReport
impl Send for MetricsReport
impl Sync for MetricsReport
impl Unpin for MetricsReport
impl UnwindSafe for MetricsReport
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