#[non_exhaustive]pub struct D3fTactic {
pub name: Option<String>,
pub src_url: Option<String>,
pub uid: Option<String>,
}Expand description
MITRE D3FEND™ Tactic
The MITRE D3FEND™ Tactic object describes the tactic ID and/or name that is associated to an attack.
[] Category: | Name: d3f_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 defensive technique. For example: Isolate.
recommended
src_url: Option<String>Source URL
The versioned permalink of the defensive tactic. For example: https://d3fend.mitre.org/tactic/d3f:Isolate/.
optional
uid: Option<String>Unique ID
The unique identifier of the defensive tactic.
recommended
Trait Implementations§
Source§impl<'de> Deserialize<'de> for D3fTactic
impl<'de> Deserialize<'de> for D3fTactic
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 D3fTactic
Auto Trait Implementations§
impl Freeze for D3fTactic
impl RefUnwindSafe for D3fTactic
impl Send for D3fTactic
impl Sync for D3fTactic
impl Unpin for D3fTactic
impl UnwindSafe for D3fTactic
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