pub struct AttackStepNode {
pub description: Option<String>,
pub display_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub type_: Option<String>,
pub uuid: Option<String>,
}Expand description
Detailed steps the attack can take between path nodes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§description: Option<String>Attack step description
display_name: Option<String>User friendly name of the attack step
labels: Option<HashMap<String, String>>Attack step labels for metadata
type_: Option<String>Attack step type. Can be either AND, OR or DEFENSE
uuid: Option<String>Unique ID for one Node
Trait Implementations§
Source§impl Clone for AttackStepNode
impl Clone for AttackStepNode
Source§fn clone(&self) -> AttackStepNode
fn clone(&self) -> AttackStepNode
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 AttackStepNode
impl Debug for AttackStepNode
Source§impl Default for AttackStepNode
impl Default for AttackStepNode
Source§fn default() -> AttackStepNode
fn default() -> AttackStepNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttackStepNode
impl<'de> Deserialize<'de> for AttackStepNode
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 Serialize for AttackStepNode
impl Serialize for AttackStepNode
impl Part for AttackStepNode
Auto Trait Implementations§
impl Freeze for AttackStepNode
impl RefUnwindSafe for AttackStepNode
impl Send for AttackStepNode
impl Sync for AttackStepNode
impl Unpin for AttackStepNode
impl UnwindSafe for AttackStepNode
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