pub trait AttackObject: StixObject {
// Required methods
fn name(&self) -> &str;
fn description(&self) -> Option<&str>;
fn revoked(&self) -> bool;
fn deprecated(&self) -> bool;
}Expand description
Base trait for all MITRE ATT&CK objects. Extends the basic STIX object with ATT&CK-specific common fields.
Required Methods§
fn name(&self) -> &str
fn description(&self) -> Option<&str>
fn revoked(&self) -> bool
fn deprecated(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".