Struct attck::AttackPattern[][src]

pub struct AttackPattern {
    pub base: AttackPattern,
    pub mitre: MitreAttackPattern,
}

Fields

base: AttackPatternmitre: MitreAttackPattern

Implementations

impl AttackPattern[src]

pub fn name(&self) -> &str[src]

pub fn mitre_id(&self) -> Option<&str>[src]

Get the MITRE ID for this attack pattern, such as T1156 or T1546.004.

Trait Implementations

impl AsRef<AttackPattern> for AttackPattern[src]

impl<'a> AsRef<AttackPattern> for Node<'a, AttackPattern>[src]

impl AsRef<CommonProperties> for AttackPattern[src]

impl<'de> Deserialize<'de> for AttackPattern[src]

impl TypedObject for AttackPattern[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Object for T where
    T: AsRef<CommonProperties>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.