pub struct AttackPath {
pub edges: Option<Vec<AttackPathEdge>>,
pub name: Option<String>,
pub path_nodes: Option<Vec<AttackPathNode>>,
}Expand description
A path that an attacker could take to reach an exposed resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§edges: Option<Vec<AttackPathEdge>>A list of the edges between nodes in this attack path.
name: Option<String>The attack path name, for example, organizations/12/simulation/34/valuedResources/56/attackPaths/78
path_nodes: Option<Vec<AttackPathNode>>A list of nodes that exist in this attack path.
Trait Implementations§
Source§impl Clone for AttackPath
impl Clone for AttackPath
Source§fn clone(&self) -> AttackPath
fn clone(&self) -> AttackPath
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 AttackPath
impl Debug for AttackPath
Source§impl Default for AttackPath
impl Default for AttackPath
Source§fn default() -> AttackPath
fn default() -> AttackPath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttackPath
impl<'de> Deserialize<'de> for AttackPath
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 AttackPath
impl Serialize for AttackPath
impl Part for AttackPath
Auto Trait Implementations§
impl Freeze for AttackPath
impl RefUnwindSafe for AttackPath
impl Send for AttackPath
impl Sync for AttackPath
impl Unpin for AttackPath
impl UnwindSafe for AttackPath
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