pub struct ThreatMatch {
pub value: String,
pub ioc_type: String,
pub listed: bool,
pub threat_type: Option<String>,
pub sources: Option<Vec<String>>,
pub confidence: Option<i64>,
pub first_seen: Option<String>,
pub last_seen: Option<String>,
}Expand description
Result of a threat-intel lookup. When listed is false the remaining
fields are absent.
Fields§
§value: String§ioc_type: String§listed: bool§threat_type: Option<String>§sources: Option<Vec<String>>§confidence: Option<i64>§first_seen: Option<String>§last_seen: Option<String>Trait Implementations§
Source§impl Clone for ThreatMatch
impl Clone for ThreatMatch
Source§fn clone(&self) -> ThreatMatch
fn clone(&self) -> ThreatMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThreatMatch
impl Debug for ThreatMatch
Source§impl Default for ThreatMatch
impl Default for ThreatMatch
Source§fn default() -> ThreatMatch
fn default() -> ThreatMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThreatMatch
impl<'de> Deserialize<'de> for ThreatMatch
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 ThreatMatch
impl RefUnwindSafe for ThreatMatch
impl Send for ThreatMatch
impl Sync for ThreatMatch
impl Unpin for ThreatMatch
impl UnsafeUnpin for ThreatMatch
impl UnwindSafe for ThreatMatch
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