pub struct Malware {
pub name: String,
pub description: Option<String>,
pub malware_types: BTreeSet<MalwareType>,
pub is_family: Option<bool>,
pub kill_chain_phases: Vec<KillChainPhase>,
pub first_seen: Option<DateTime<Utc>>,
pub last_seen: Option<DateTime<Utc>>,
pub implementation_languages: BTreeSet<ImplementationLanguage>,
pub operating_system_refs: BTreeSet<Id>,
pub architecture_execution_envs: BTreeSet<ProcessorArchitecture>,
pub capabilities: BTreeSet<MalwareCapabilities>,
pub sample_refs: BTreeSet<Id>,
/* private fields */
}Fields§
§name: String§description: Option<String>§malware_types: BTreeSet<MalwareType>§is_family: Option<bool>§kill_chain_phases: Vec<KillChainPhase>§first_seen: Option<DateTime<Utc>>§last_seen: Option<DateTime<Utc>>§implementation_languages: BTreeSet<ImplementationLanguage>§operating_system_refs: BTreeSet<Id>§architecture_execution_envs: BTreeSet<ProcessorArchitecture>§capabilities: BTreeSet<MalwareCapabilities>§sample_refs: BTreeSet<Id>Implementations§
Trait Implementations§
Source§impl AsRef<CommonProperties> for Malware
impl AsRef<CommonProperties> for Malware
Source§fn as_ref(&self) -> &CommonProperties
fn as_ref(&self) -> &CommonProperties
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<'de> Deserialize<'de> for Malware
impl<'de> Deserialize<'de> for Malware
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 Malware
impl RefUnwindSafe for Malware
impl Send for Malware
impl Sync for Malware
impl Unpin for Malware
impl UnwindSafe for Malware
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