pub struct Configuration {Show 20 fields
pub config_path: Option<String>,
pub output: String,
pub file: String,
pub distro: String,
pub add_cpes_if_none: bool,
pub output_template_file: String,
pub quiet: bool,
pub check_for_app_update: bool,
pub only_fixed: bool,
pub platform: String,
pub search: Search,
pub ignore: Option<()>,
pub exclude: Vec<String>,
pub db: GrypeDb,
pub external_sources: Option<ExternalSources>,
pub dev: Dev,
pub fail_on_severity: String,
pub registry: Registry,
pub log: Log,
pub attestation: Attestation,
}
Fields
config_path: Option<String>
output: String
file: String
distro: String
add_cpes_if_none: bool
output_template_file: String
quiet: bool
check_for_app_update: bool
only_fixed: bool
platform: String
search: Search
ignore: Option<()>
exclude: Vec<String>
db: GrypeDb
external_sources: Option<ExternalSources>
dev: Dev
fail_on_severity: String
registry: Registry
log: Log
attestation: Attestation
Trait Implementations
sourceimpl Debug for Configuration
impl Debug for Configuration
sourceimpl<'de> Deserialize<'de> for Configuration
impl<'de> Deserialize<'de> for Configuration
sourcefn 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
sourceimpl Serialize for Configuration
impl Serialize for Configuration
Auto Trait Implementations
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more