pub struct ThreatDescriptor {
pub threat_type: ThreatType,
pub platform_type: PlatformType,
pub threat_entry_type: ThreatEntryType,
}
Expand description
A threat descriptor describes a specific threat list
Fields§
§threat_type: ThreatType
The type of threat (malware, phishing, etc)
platform_type: PlatformType
The platform this threat applies to
threat_entry_type: ThreatEntryType
The type of entries in the threat list
Trait Implementations§
Source§impl Clone for ThreatDescriptor
impl Clone for ThreatDescriptor
Source§fn clone(&self) -> ThreatDescriptor
fn clone(&self) -> ThreatDescriptor
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 ThreatDescriptor
impl Debug for ThreatDescriptor
Source§impl<'de> Deserialize<'de> for ThreatDescriptor
impl<'de> Deserialize<'de> for ThreatDescriptor
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
Source§impl Display for ThreatDescriptor
impl Display for ThreatDescriptor
Source§impl Hash for ThreatDescriptor
impl Hash for ThreatDescriptor
Source§impl PartialEq for ThreatDescriptor
impl PartialEq for ThreatDescriptor
Source§impl Serialize for ThreatDescriptor
impl Serialize for ThreatDescriptor
impl Eq for ThreatDescriptor
impl StructuralPartialEq for ThreatDescriptor
Auto Trait Implementations§
impl Freeze for ThreatDescriptor
impl RefUnwindSafe for ThreatDescriptor
impl Send for ThreatDescriptor
impl Sync for ThreatDescriptor
impl Unpin for ThreatDescriptor
impl UnwindSafe for ThreatDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.