pub struct ThreatIntelStats {
pub sources_count: usize,
pub total_vulnerabilities: usize,
pub total_iocs: usize,
pub total_threat_actors: usize,
pub last_sync: Option<DateTime<Utc>>,
}Expand description
Statistics about the threat intelligence cache
Fields§
§sources_count: usize§total_vulnerabilities: usize§total_iocs: usize§total_threat_actors: usize§last_sync: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for ThreatIntelStats
impl Clone for ThreatIntelStats
Source§fn clone(&self) -> ThreatIntelStats
fn clone(&self) -> ThreatIntelStats
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 ThreatIntelStats
impl Debug for ThreatIntelStats
Source§impl<'de> Deserialize<'de> for ThreatIntelStats
impl<'de> Deserialize<'de> for ThreatIntelStats
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 ThreatIntelStats
impl RefUnwindSafe for ThreatIntelStats
impl Send for ThreatIntelStats
impl Sync for ThreatIntelStats
impl Unpin for ThreatIntelStats
impl UnwindSafe for ThreatIntelStats
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