pub struct BlastRadius {
pub touched: Vec<String>,
pub reached: Vec<String>,
pub total: usize,
pub unattributed: Vec<String>,
}Expand description
How far a change reaches through the workspace dependency graph.
Fields§
§touched: Vec<String>Packages that directly contain at least one changed file, sorted.
reached: Vec<String>Every package that transitively depends on a touched one, plus the touched packages themselves, sorted. This is the set a break could propagate to.
total: usizeWorkspace packages in total, the denominator of Self::fraction.
unattributed: Vec<String>Changed files that fell outside every package (workspace-root
files like DECISIONS.md, or a path from another repo), sorted.
Kept rather than dropped: a change that is entirely unattributed scores zero, and zero should be distinguishable from “touched nothing that matters” by looking at this field.
Implementations§
Trait Implementations§
Source§impl Clone for BlastRadius
impl Clone for BlastRadius
Source§fn clone(&self) -> BlastRadius
fn clone(&self) -> BlastRadius
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BlastRadius
impl Debug for BlastRadius
Source§impl PartialEq for BlastRadius
impl PartialEq for BlastRadius
Source§fn eq(&self, other: &BlastRadius) -> bool
fn eq(&self, other: &BlastRadius) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for BlastRadius
impl StructuralPartialEq for BlastRadius
Auto Trait Implementations§
impl Freeze for BlastRadius
impl RefUnwindSafe for BlastRadius
impl Send for BlastRadius
impl Sync for BlastRadius
impl Unpin for BlastRadius
impl UnsafeUnpin for BlastRadius
impl UnwindSafe for BlastRadius
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