pub struct AttackPathEdge {
pub destination: Option<String>,
pub source: Option<String>,
}Expand description
Represents a connection between a source node and a destination node in this attack path.
This type is not used in any activity, and only used as part of another schema.
Fields§
§destination: Option<String>The attack node uuid of the destination node.
source: Option<String>The attack node uuid of the source node.
Trait Implementations§
Source§impl Clone for AttackPathEdge
impl Clone for AttackPathEdge
Source§fn clone(&self) -> AttackPathEdge
fn clone(&self) -> AttackPathEdge
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 AttackPathEdge
impl Debug for AttackPathEdge
Source§impl Default for AttackPathEdge
impl Default for AttackPathEdge
Source§fn default() -> AttackPathEdge
fn default() -> AttackPathEdge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttackPathEdge
impl<'de> Deserialize<'de> for AttackPathEdge
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 AttackPathEdge
impl Serialize for AttackPathEdge
impl Part for AttackPathEdge
Auto Trait Implementations§
impl Freeze for AttackPathEdge
impl RefUnwindSafe for AttackPathEdge
impl Send for AttackPathEdge
impl Sync for AttackPathEdge
impl Unpin for AttackPathEdge
impl UnwindSafe for AttackPathEdge
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