pub struct MonitoringStats {
pub total_metrics: usize,
pub total_datapoints: u64,
pub total_alerts: u64,
pub active_alerts: usize,
pub anomalies_detected: u64,
}Expand description
Monitoring statistics.
Fields§
§total_metrics: usizeTotal number of registered metrics
total_datapoints: u64Total number of data points recorded
total_alerts: u64Total number of alerts triggered
active_alerts: usizeNumber of currently active alerts
anomalies_detected: u64Number of anomalies detected
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 Default for MonitoringStats
impl Default for MonitoringStats
Source§fn default() -> MonitoringStats
fn default() -> MonitoringStats
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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