pub struct AffectedNode {
pub node_id: NodeId,
pub node_info: NodeInfo,
pub severity: ImpactSeverity,
pub hop_distance: usize,
pub entry_edge: EdgeKind,
pub direction: ImpactDirection,
}Expand description
A node affected by a change to the target.
Fields§
§node_id: NodeIdThe node’s graph index.
node_info: NodeInfoFull node information.
severity: ImpactSeveritySeverity derived from hop distance.
hop_distance: usizeNumber of edges from target to this node.
entry_edge: EdgeKindThe edge kind of the first hop that led to this node. This explains why this node is in the impact set.
direction: ImpactDirectionWhether this node is upstream or downstream of target.
Trait Implementations§
Source§impl Clone for AffectedNode
impl Clone for AffectedNode
Source§fn clone(&self) -> AffectedNode
fn clone(&self) -> AffectedNode
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 AffectedNode
impl Debug for AffectedNode
Source§impl<'de> Deserialize<'de> for AffectedNode
impl<'de> Deserialize<'de> for AffectedNode
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
Auto Trait Implementations§
impl Freeze for AffectedNode
impl RefUnwindSafe for AffectedNode
impl Send for AffectedNode
impl Sync for AffectedNode
impl Unpin for AffectedNode
impl UnwindSafe for AffectedNode
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