pub struct HeuristicSourceMatch {
pub heuristic: HeuristicEntry,
pub matched_patterns: Vec<&'static str>,
pub evidence: Vec<ScanEvidence>,
pub total_hits: usize,
}Expand description
Aggregated source-motif match for one heuristic entry.
Fields§
§heuristic: HeuristicEntryThe matched heuristic entry.
matched_patterns: Vec<&'static str>Distinct patterns that matched.
evidence: Vec<ScanEvidence>Example evidence lines for the match.
total_hits: usizeTotal line-level hits across all scanned files.
Trait Implementations§
Source§impl Clone for HeuristicSourceMatch
impl Clone for HeuristicSourceMatch
Source§fn clone(&self) -> HeuristicSourceMatch
fn clone(&self) -> HeuristicSourceMatch
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 moreAuto Trait Implementations§
impl Freeze for HeuristicSourceMatch
impl RefUnwindSafe for HeuristicSourceMatch
impl Send for HeuristicSourceMatch
impl Sync for HeuristicSourceMatch
impl Unpin for HeuristicSourceMatch
impl UnsafeUnpin for HeuristicSourceMatch
impl UnwindSafe for HeuristicSourceMatch
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