pub struct Settings {
pub target_arch: Option<Arch>,
pub target_os: Option<OS>,
pub severity: Option<Severity>,
pub ignore: Vec<Id>,
pub informational_warnings: Vec<Informational>,
}Expand description
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
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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