pub struct AuditConfig {
pub ignored_ids: HashSet<String>,
pub ignored_vulnerabilities: Vec<IgnoredVulnerability>,
pub check_yanked: bool,
}Expand description
Audit configuration
Fields§
§ignored_ids: HashSet<String>Vulnerability IDs to ignore (from CLI)
ignored_vulnerabilities: Vec<IgnoredVulnerability>Ignored vulnerabilities with metadata (from config file)
check_yanked: boolWhether to check for yanked versions
Trait Implementations§
Source§impl Clone for AuditConfig
impl Clone for AuditConfig
Source§fn clone(&self) -> AuditConfig
fn clone(&self) -> AuditConfig
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 AuditConfig
impl Debug for AuditConfig
Source§impl Default for AuditConfig
impl Default for AuditConfig
Source§fn default() -> AuditConfig
fn default() -> AuditConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuditConfig
impl RefUnwindSafe for AuditConfig
impl Send for AuditConfig
impl Sync for AuditConfig
impl Unpin for AuditConfig
impl UnwindSafe for AuditConfig
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