pub struct SecurityDashboard {
pub timestamp: DateTime<Utc>,
pub hourly_metrics: SecurityMetrics,
pub daily_metrics: SecurityMetrics,
pub recent_events: Vec<SecurityEvent>,
pub active_alerts: Vec<SecurityAlert>,
pub system_health: SystemHealth,
}
Expand description
Security dashboard data structure
Fields§
§timestamp: DateTime<Utc>
§hourly_metrics: SecurityMetrics
§daily_metrics: SecurityMetrics
§recent_events: Vec<SecurityEvent>
§active_alerts: Vec<SecurityAlert>
§system_health: SystemHealth
Trait Implementations§
Source§impl Clone for SecurityDashboard
impl Clone for SecurityDashboard
Source§fn clone(&self) -> SecurityDashboard
fn clone(&self) -> SecurityDashboard
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 SecurityDashboard
impl Debug for SecurityDashboard
Source§impl<'de> Deserialize<'de> for SecurityDashboard
impl<'de> Deserialize<'de> for SecurityDashboard
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 SecurityDashboard
impl RefUnwindSafe for SecurityDashboard
impl Send for SecurityDashboard
impl Sync for SecurityDashboard
impl Unpin for SecurityDashboard
impl UnwindSafe for SecurityDashboard
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