#[non_exhaustive]pub struct Tactic {
pub name: Option<String>,
pub src_url: Option<String>,
pub uid: Option<String>,
}Expand description
MITRE Tactic
The MITRE Tactic object describes the ATT&CK® or ATLAS™ Tactic ID and/or name that is associated to an attack.
[] Category: | Name: tactic
Constraints:
- at_least_one:
[name,uid]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Name
The Tactic name that is associated with the attack technique. For example: Reconnaissance or ML Model Access.
recommended
src_url: Option<String>Source URL
The versioned permalink of the Tactic. For example: https://attack.mitre.org/versions/v14/tactics/TA0043/.
optional
uid: Option<String>Unique ID
The Tactic ID that is associated with the attack technique. For example: TA0043, or AML.TA0000.
recommended
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tactic
impl<'de> Deserialize<'de> for Tactic
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
impl StructuralPartialEq for Tactic
Auto Trait Implementations§
impl Freeze for Tactic
impl RefUnwindSafe for Tactic
impl Send for Tactic
impl Sync for Tactic
impl Unpin for Tactic
impl UnwindSafe for Tactic
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