pub struct LintRule {
pub id: String,
pub name: String,
pub severity: Severity,
pub description: String,
}Fields§
§id: String§name: String§severity: Severity§description: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for LintRule
impl<'de> Deserialize<'de> for LintRule
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 LintRule
impl RefUnwindSafe for LintRule
impl Send for LintRule
impl Sync for LintRule
impl Unpin for LintRule
impl UnsafeUnpin for LintRule
impl UnwindSafe for LintRule
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