#[non_exhaustive]pub struct Technique {
pub name: Option<String>,
pub src_url: Option<String>,
pub uid: Option<String>,
}Expand description
MITRE Technique
The MITRE Technique object describes the ATT&CK® or ATLAS™ Technique ID and/or name associated to an attack.
[] Category: | Name: technique
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 name of the attack technique. For example: Active Scanning or AI Model Inference API Access.
recommended
src_url: Option<String>Source URL
The versioned permalink of the attack technique. For example: https://attack.mitre.org/versions/v14/techniques/T1595/.
optional
uid: Option<String>Unique ID
The unique identifier of the attack technique. For example: T1595 or AML.T0040.
recommended
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Technique
impl<'de> Deserialize<'de> for Technique
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 Technique
Auto Trait Implementations§
impl Freeze for Technique
impl RefUnwindSafe for Technique
impl Send for Technique
impl Sync for Technique
impl Unpin for Technique
impl UnwindSafe for Technique
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