[][src]Struct cargo_audit::config::AuditConfig

pub struct AuditConfig {
    pub advisories: AdvisoryConfig,
    pub database: DatabaseConfig,
    pub output: OutputConfig,
    pub target: TargetConfig,
}

cargo audit configuration:

An optional TOML config file located in ~/.cargo/audit.toml

Fields

advisories: AdvisoryConfig

Advisory-related configuration

database: DatabaseConfig

Advisory Database configuration

output: OutputConfig

Output configuration

target: TargetConfig

Target-related configuration

Methods

impl AuditConfig[src]

pub fn report_settings(&self) -> Settings[src]

Get audit report settings from the configuration

Trait Implementations

impl Clone for AuditConfig[src]

impl Default for AuditConfig[src]

impl Debug for AuditConfig[src]

impl Config for AuditConfig[src]

impl Configurable<AuditConfig> for CargoAuditCommand[src]

fn config_path(&self) -> Option<PathBuf>[src]

Location of audit.toml (if it exists)

fn process_config(
    &self,
    config: AuditConfig
) -> Result<AuditConfig, FrameworkError>
[src]

Override loaded config with explicit command-line arguments

impl Serialize for AuditConfig[src]

impl<'de> Deserialize<'de> for AuditConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsAny for T where
    T: Any
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]