pub struct ImpactModel {
pub kind: SeedKind,
pub seed_files: Vec<String>,
pub hops: u32,
pub total_affected: usize,
pub rows: Vec<ImpactRow>,
pub dropped: usize,
pub manifest_gap: usize,
pub heuristic_affected: usize,
pub tests_affected: usize,
pub braked: Vec<BrakedIface>,
pub braked_files: Vec<BrakedFile>,
}Expand description
The resolved impact result for one seed.
Fields§
§kind: SeedKindThe kind value.
seed_files: Vec<String>The seed files value.
hops: u32The hops value.
total_affected: usizeThe total affected value.
rows: Vec<ImpactRow>The rows value.
dropped: usizeThe dropped value.
manifest_gap: usizeThe manifest gap value.
heuristic_affected: usizeNumber of files reached exclusively by guesses. Counted over EVERY row the walk found, capped or not.
tests_affected: usizeHow many of the PRECISELY affected files carry a test-flagged def.
Counted over every affected row, not just the capped shown slice, and
heuristic-only rows are excluded: “a guess also touched a test file” is
not coverage. Zero is the interesting answer – a blast radius that
reaches no test file at all is a gap the caller can act on.
braked: Vec<BrakedIface>The braked interfaces, present only when the brake actually fired (empty
under --iface-max-fanin 0 or --no-iface).
braked_files: Vec<BrakedFile>The braked hub files, reported alongside braked.
Trait Implementations§
Source§impl Clone for ImpactModel
impl Clone for ImpactModel
Source§impl Debug for ImpactModel
impl Debug for ImpactModel
Source§impl PartialEq for ImpactModel
impl PartialEq for ImpactModel
impl StructuralPartialEq for ImpactModel
Auto Trait Implementations§
impl Freeze for ImpactModel
impl RefUnwindSafe for ImpactModel
impl Send for ImpactModel
impl Sync for ImpactModel
impl Unpin for ImpactModel
impl UnsafeUnpin for ImpactModel
impl UnwindSafe for ImpactModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more