pub struct LintOptionsJson {
pub profile: Option<String>,
pub enable_rules: Vec<String>,
pub disable_rules: Vec<String>,
pub rule_severities: Vec<LintRuleSeverityOverrideJson>,
}Fields§
§profile: Option<String>§enable_rules: Vec<String>§disable_rules: Vec<String>§rule_severities: Vec<LintRuleSeverityOverrideJson>Trait Implementations§
Source§impl Clone for LintOptionsJson
impl Clone for LintOptionsJson
Source§fn clone(&self) -> LintOptionsJson
fn clone(&self) -> LintOptionsJson
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 LintOptionsJson
impl Debug for LintOptionsJson
Source§impl Default for LintOptionsJson
impl Default for LintOptionsJson
Source§fn default() -> LintOptionsJson
fn default() -> LintOptionsJson
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LintOptionsJson
impl<'de> Deserialize<'de> for LintOptionsJson
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
impl Eq for LintOptionsJson
Source§impl PartialEq for LintOptionsJson
impl PartialEq for LintOptionsJson
Source§fn eq(&self, other: &LintOptionsJson) -> bool
fn eq(&self, other: &LintOptionsJson) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LintOptionsJson
impl Serialize for LintOptionsJson
impl StructuralPartialEq for LintOptionsJson
Auto Trait Implementations§
impl Freeze for LintOptionsJson
impl RefUnwindSafe for LintOptionsJson
impl Send for LintOptionsJson
impl Sync for LintOptionsJson
impl Unpin for LintOptionsJson
impl UnsafeUnpin for LintOptionsJson
impl UnwindSafe for LintOptionsJson
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.