pub struct LintSection {
pub min_score: Option<f64>,
pub severity: Option<String>,
pub strict: bool,
pub contracts_dir: Option<String>,
pub binding: Option<String>,
pub rules: HashMap<String, String>,
pub suppress: SuppressSection,
pub diff: DiffSection,
pub trend: TrendSection,
pub cache: CacheSection,
}Fields§
§min_score: Option<f64>§severity: Option<String>§strict: bool§contracts_dir: Option<String>§binding: Option<String>§rules: HashMap<String, String>§suppress: SuppressSection§diff: DiffSection§trend: TrendSection§cache: CacheSectionTrait Implementations§
Source§impl Clone for LintSection
impl Clone for LintSection
Source§fn clone(&self) -> LintSection
fn clone(&self) -> LintSection
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 LintSection
impl Debug for LintSection
Source§impl Default for LintSection
impl Default for LintSection
Source§fn default() -> LintSection
fn default() -> LintSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LintSection
impl<'de> Deserialize<'de> for LintSection
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 LintSection
impl RefUnwindSafe for LintSection
impl Send for LintSection
impl Sync for LintSection
impl Unpin for LintSection
impl UnsafeUnpin for LintSection
impl UnwindSafe for LintSection
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