pub struct ScanOptions {
pub ignore: HashSet<String>,
pub severity: Option<Criticality>,
pub strict: bool,
}Expand description
Scanner configuration options.
Fields§
§ignore: HashSet<String>Advisory IDs to ignore (e.g., “CVE-2020-1234”, “GHSA-aaaa-bbbb-cccc”).
severity: Option<Criticality>Minimum severity threshold: only report advisories at or above this level.
strict: boolTreat parse/load warnings as significant (tracked in report error counters).
Trait Implementations§
Source§impl Debug for ScanOptions
impl Debug for ScanOptions
Source§impl Default for ScanOptions
impl Default for ScanOptions
Source§fn default() -> ScanOptions
fn default() -> ScanOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScanOptions
impl RefUnwindSafe for ScanOptions
impl Send for ScanOptions
impl Sync for ScanOptions
impl Unpin for ScanOptions
impl UnsafeUnpin for ScanOptions
impl UnwindSafe for ScanOptions
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