pub enum AuditScope {
Vulnerabilities,
Policy,
All,
}Expand description
Scope of an audit run.
Variants§
Vulnerabilities
Run only the vulnerability scanner (cargo audit).
Policy
Run only the policy enforcer (cargo deny).
All
Run both vulnerability and policy checks.
Trait Implementations§
Source§impl Clone for AuditScope
impl Clone for AuditScope
Source§fn clone(&self) -> AuditScope
fn clone(&self) -> AuditScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuditScope
impl Debug for AuditScope
Source§impl<'de> Deserialize<'de> for AuditScope
impl<'de> Deserialize<'de> for AuditScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuditScope
impl PartialEq for AuditScope
Source§fn eq(&self, other: &AuditScope) -> bool
fn eq(&self, other: &AuditScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuditScope
impl Serialize for AuditScope
impl Copy for AuditScope
impl Eq for AuditScope
impl StructuralPartialEq for AuditScope
Auto Trait Implementations§
impl Freeze for AuditScope
impl RefUnwindSafe for AuditScope
impl Send for AuditScope
impl Sync for AuditScope
impl Unpin for AuditScope
impl UnsafeUnpin for AuditScope
impl UnwindSafe for AuditScope
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