pub struct LintOptions {
pub duplicate_keys_severity: Severity,
}Expand description
Options for diagnostics and linting.
Fields§
§duplicate_keys_severity: SeveritySeverity level for duplicate keys in objects.
Trait Implementations§
Source§impl Clone for LintOptions
impl Clone for LintOptions
Source§fn clone(&self) -> LintOptions
fn clone(&self) -> LintOptions
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 moreimpl Copy for LintOptions
Source§impl Debug for LintOptions
impl Debug for LintOptions
Source§impl Default for LintOptions
impl Default for LintOptions
Source§impl<'de> Deserialize<'de> for LintOptions
impl<'de> Deserialize<'de> for LintOptions
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
Source§impl PartialEq for LintOptions
impl PartialEq for LintOptions
Source§impl Serialize for LintOptions
impl Serialize for LintOptions
impl StructuralPartialEq for LintOptions
Auto Trait Implementations§
impl Freeze for LintOptions
impl RefUnwindSafe for LintOptions
impl Send for LintOptions
impl Sync for LintOptions
impl Unpin for LintOptions
impl UnsafeUnpin for LintOptions
impl UnwindSafe for LintOptions
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