[][src]Struct cargo_audit::config::OutputConfig

pub struct OutputConfig {
    pub color: Option<String>,
    pub deny_warnings: bool,
    pub format: OutputFormat,
    pub quiet: bool,
    pub show_tree: Option<bool>,
}

Output configuration

Fields

color: Option<String>

Should colors be displayed?

deny_warnings: bool

Disallow any warning advisories

format: OutputFormat

Output format to use

quiet: bool

Enable quiet mode

show_tree: Option<bool>

Show inverse dependency trees along with advisories (default: true)

Methods

impl OutputConfig[src]

pub fn is_quiet(&self) -> bool[src]

Is quiet mode enabled?

Trait Implementations

impl Clone for OutputConfig[src]

impl Default for OutputConfig[src]

impl Debug for OutputConfig[src]

impl Config for OutputConfig[src]

impl Serialize for OutputConfig[src]

impl<'de> Deserialize<'de> for OutputConfig[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]