pub struct LinterConfig {
pub rules: HashMap<String, RuleConfig>,
pub extends: Option<String>,
}Expand description
Linter configuration.
Fields§
§rules: HashMap<String, RuleConfig>Rules configuration.
extends: Option<String>Selected rule set.
Trait Implementations§
Source§impl Clone for LinterConfig
impl Clone for LinterConfig
Source§fn clone(&self) -> LinterConfig
fn clone(&self) -> LinterConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 LinterConfig
impl Debug for LinterConfig
Source§impl<'de> Deserialize<'de> for LinterConfig
impl<'de> Deserialize<'de> for LinterConfig
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 LinterConfig
impl RefUnwindSafe for LinterConfig
impl Send for LinterConfig
impl Sync for LinterConfig
impl Unpin for LinterConfig
impl UnsafeUnpin for LinterConfig
impl UnwindSafe for LinterConfig
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