pub struct MonitoringStats {
pub total_events: u64,
pub thermal_alerts: u64,
pub power_alerts: u64,
pub hardware_changes: u64,
pub errors: u64,
pub uptime: Duration,
pub last_update: SystemTime,
pub average_update_interval: Duration,
}
Expand description
Monitoring statistics
Fields§
§total_events: u64
Total monitoring events generated
thermal_alerts: u64
Thermal alerts generated
power_alerts: u64
Power alerts generated
hardware_changes: u64
Hardware change events
errors: u64
Monitoring errors encountered
uptime: Duration
Monitoring uptime
last_update: SystemTime
Last update timestamp
average_update_interval: Duration
Average update interval
Trait Implementations§
Source§impl Clone for MonitoringStats
impl Clone for MonitoringStats
Source§fn clone(&self) -> MonitoringStats
fn clone(&self) -> MonitoringStats
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 MonitoringStats
impl Debug for MonitoringStats
Source§impl<'de> Deserialize<'de> for MonitoringStats
impl<'de> Deserialize<'de> for MonitoringStats
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 MonitoringStats
impl RefUnwindSafe for MonitoringStats
impl Send for MonitoringStats
impl Sync for MonitoringStats
impl Unpin for MonitoringStats
impl UnwindSafe for MonitoringStats
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