pub struct AnalyzerConfig {
pub enabled: Option<bool>,
pub params: Map<String, Value>,
pub severity_floor: Option<Severity>,
pub namespaces: Vec<String>,
}Expand description
Per-analyzer configuration. The file may enable/disable, raise severity floors, override params, and scope namespaces — never raise engine caps.
Fields§
§enabled: Option<bool>None = follow the manifest default.
params: Map<String, Value>§severity_floor: Option<Severity>§namespaces: Vec<String>Trait Implementations§
Source§impl Clone for AnalyzerConfig
impl Clone for AnalyzerConfig
Source§fn clone(&self) -> AnalyzerConfig
fn clone(&self) -> AnalyzerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnalyzerConfig
impl Debug for AnalyzerConfig
Source§impl Default for AnalyzerConfig
impl Default for AnalyzerConfig
Source§fn default() -> AnalyzerConfig
fn default() -> AnalyzerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnalyzerConfig
impl<'de> Deserialize<'de> for AnalyzerConfig
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
Auto Trait Implementations§
impl Freeze for AnalyzerConfig
impl RefUnwindSafe for AnalyzerConfig
impl Send for AnalyzerConfig
impl Sync for AnalyzerConfig
impl Unpin for AnalyzerConfig
impl UnsafeUnpin for AnalyzerConfig
impl UnwindSafe for AnalyzerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more