#[non_exhaustive]pub struct SubTechnique {
pub name: Option<String>,
pub src_url: Option<String>,
pub uid: Option<String>,
}Expand description
MITRE Sub-technique
The MITRE Sub-technique object describes the ATT&CK® or ATLAS™ Sub-technique ID and/or name associated to an attack.
[] Category: | Name: sub_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 sub-technique. For example: Scanning IP Blocks or User Execution: Unsafe ML Artifacts.
recommended
src_url: Option<String>Source URL
The versioned permalink of the attack sub-technique. For example: https://attack.mitre.org/versions/v14/techniques/T1595/001/.
optional
uid: Option<String>Unique ID
The unique identifier of the attack sub-technique. For example: T1595.001 or AML.T0011.000.
recommended
Trait Implementations§
Source§impl Clone for SubTechnique
impl Clone for SubTechnique
Source§fn clone(&self) -> SubTechnique
fn clone(&self) -> SubTechnique
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubTechnique
impl Debug for SubTechnique
Source§impl Default for SubTechnique
impl Default for SubTechnique
Source§fn default() -> SubTechnique
fn default() -> SubTechnique
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubTechniquewhere
SubTechnique: Default,
impl<'de> Deserialize<'de> for SubTechniquewhere
SubTechnique: Default,
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
Source§impl PartialEq for SubTechnique
impl PartialEq for SubTechnique
Source§impl Serialize for SubTechnique
impl Serialize for SubTechnique
impl StructuralPartialEq for SubTechnique
Auto Trait Implementations§
impl Freeze for SubTechnique
impl RefUnwindSafe for SubTechnique
impl Send for SubTechnique
impl Sync for SubTechnique
impl Unpin for SubTechnique
impl UnwindSafe for SubTechnique
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