[−][src]Struct rustsec::report::Settings
Options to use when generating the report
Fields
target_arch: Option<Arch>
CPU architecture
target_os: Option<OS>
Operating system
severity: Option<Severity>
Severity threshold to alert at
ignore: Vec<Id>
List of advisory IDs to ignore
informational_warnings: Vec<Informational>
Types of informational advisories to generate warnings for
package_scope: Option<Package>
Scope of packages which should be considered for audit
Implementations
impl Settings
[src]
pub fn query(&self) -> Query
[src]
Get a query which corresponds to the configured report settings. Note that queries can't filter ignored advisories, so this happens in a separate pass
Trait Implementations
impl Clone for Settings
[src]
impl Debug for Settings
[src]
impl Default for Settings
[src]
impl<'de> Deserialize<'de> for Settings
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Settings
[src]
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,