pub struct Impacted {
pub node: String,
pub via: String,
pub depth: usize,
pub impact_radius: usize,
pub betweenness: f64,
pub lines: Vec<usize>,
pub fix: String,
}Expand description
One impacted node with its causal chain and ranking metrics.
Fields§
§node: String§via: StringThe neighbor through which this node was reached.
depth: usize§impact_radius: usizeCount of nodes that transitively depend on this node.
betweenness: f64Betweenness centrality of this node in the whole graph.
lines: Vec<usize>Source line(s) in node where it links via. Populated for inbound
(review) results — the line(s) most likely to need updating. Empty for
outbound, where the link lives in via, not in node.
fix: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Impacted
impl RefUnwindSafe for Impacted
impl Send for Impacted
impl Sync for Impacted
impl Unpin for Impacted
impl UnsafeUnpin for Impacted
impl UnwindSafe for Impacted
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