pub struct AnalyzerSetting {
pub id: String,
pub title: String,
pub description: String,
pub tier: String,
pub trust_class: String,
pub default_on: bool,
pub enabled: bool,
pub severity_floor: Option<String>,
}Expand description
One analyzer’s effective settings for the Setup view: the manifest facts plus the resolved file-config (override or manifest default).
Fields§
§id: String§title: String§description: StringThe manifest’s one-line “what it does”, so the Setup view can say what a toggle turns off without the reader having to know the analyzer.
tier: String§trust_class: String§default_on: bool§enabled: boolThe effective on/off state (file override, else the manifest default).
severity_floor: Option<String>Trait Implementations§
Source§impl Clone for AnalyzerSetting
impl Clone for AnalyzerSetting
Source§fn clone(&self) -> AnalyzerSetting
fn clone(&self) -> AnalyzerSetting
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 AnalyzerSetting
impl Debug for AnalyzerSetting
Auto Trait Implementations§
impl Freeze for AnalyzerSetting
impl RefUnwindSafe for AnalyzerSetting
impl Send for AnalyzerSetting
impl Sync for AnalyzerSetting
impl Unpin for AnalyzerSetting
impl UnsafeUnpin for AnalyzerSetting
impl UnwindSafe for AnalyzerSetting
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