pub struct RunStats {
pub files_scanned: usize,
pub files_matched: usize,
pub files_unmatched: usize,
pub matched_by_rule: Vec<usize>,
}Expand description
Per-run counts returned alongside the findings. Always satisfies
files_matched == matched_by_rule.iter().sum() and
files_unmatched == files_scanned - files_matched.
Fields§
§files_scanned: usizeevery file offered to the run
files_matched: usizefiles routed to a rule (validated)
files_unmatched: usizeoffered but not routed (pre-filtered out or matching no rule)
matched_by_rule: Vec<usize>matched count per rule, parallel to config.rules by index
Trait Implementations§
impl Eq for RunStats
impl StructuralPartialEq for RunStats
Auto Trait Implementations§
impl Freeze for RunStats
impl RefUnwindSafe for RunStats
impl Send for RunStats
impl Sync for RunStats
impl Unpin for RunStats
impl UnsafeUnpin for RunStats
impl UnwindSafe for RunStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.