pub struct FileReport {
pub path: String,
pub matches: u64,
pub replacements: u64,
pub bytes_processed: u64,
pub bytes_output: u64,
pub pattern_counts: HashMap<String, u64>,
pub method: String,
}Expand description
Per-file result details.
Does not contain any original secret values — only counts, byte sizes, pattern labels, and the processing method used.
Fields§
§path: StringFile path (relative or archive entry name).
matches: u64Number of matches found in this file.
replacements: u64Number of replacements applied.
bytes_processed: u64Bytes read from this file.
bytes_output: u64Bytes written for this file.
pattern_counts: HashMap<String, u64>Per-pattern match counts for this file.
method: StringProcessing method: "scanner", "structured:json", etc.
Implementations§
Trait Implementations§
Source§impl Clone for FileReport
impl Clone for FileReport
Source§fn clone(&self) -> FileReport
fn clone(&self) -> FileReport
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 moreSource§impl Debug for FileReport
impl Debug for FileReport
Auto Trait Implementations§
impl Freeze for FileReport
impl RefUnwindSafe for FileReport
impl Send for FileReport
impl Sync for FileReport
impl Unpin for FileReport
impl UnsafeUnpin for FileReport
impl UnwindSafe for FileReport
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