pub struct ReportConfig {
pub format: ReportFormat,
pub output_path: Option<PathBuf>,
pub print_summary: bool,
pub quiet: bool,
pub stream: bool,
}Expand description
Controls how the report is written.
Fields§
§format: ReportFormatWrite pretty-printed JSON (default) or one object per line (NDJSON).
output_path: Option<PathBuf>If Some, write the full report to this path in addition to stdout.
print_summary: boolIf true, also print a human-readable summary table to stdout.
quiet: boolIf true, suppress the findings list from stdout (file only).
stream: boolStream findings as NDJSON while scanning (NDJSON only).
Trait Implementations§
Source§impl Clone for ReportConfig
impl Clone for ReportConfig
Source§fn clone(&self) -> ReportConfig
fn clone(&self) -> ReportConfig
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 ReportConfig
impl Debug for ReportConfig
Auto Trait Implementations§
impl Freeze for ReportConfig
impl RefUnwindSafe for ReportConfig
impl Send for ReportConfig
impl Sync for ReportConfig
impl Unpin for ReportConfig
impl UnsafeUnpin for ReportConfig
impl UnwindSafe for ReportConfig
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