pub struct IncidentStatistics {
pub total_incidents: usize,
pub active_incidents: usize,
pub resolved_incidents: usize,
pub by_severity: HashMap<ThreatSeverity, usize>,
pub by_category: HashMap<ThreatCategory, usize>,
pub average_resolution_time_hours: f64,
}Expand description
Incident statistics
Fields§
§total_incidents: usize§active_incidents: usize§resolved_incidents: usize§by_severity: HashMap<ThreatSeverity, usize>§by_category: HashMap<ThreatCategory, usize>§average_resolution_time_hours: f64Trait Implementations§
Source§impl Clone for IncidentStatistics
impl Clone for IncidentStatistics
Source§fn clone(&self) -> IncidentStatistics
fn clone(&self) -> IncidentStatistics
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 IncidentStatistics
impl Debug for IncidentStatistics
Source§impl<'de> Deserialize<'de> for IncidentStatistics
impl<'de> Deserialize<'de> for IncidentStatistics
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 IncidentStatistics
impl RefUnwindSafe for IncidentStatistics
impl Send for IncidentStatistics
impl Sync for IncidentStatistics
impl Unpin for IncidentStatistics
impl UnwindSafe for IncidentStatistics
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