pub struct LintStats {
pub total: usize,
pub errors: usize,
pub warnings: usize,
pub info: usize,
}Expand description
Statistics about lint results
Fields§
§total: usizeTotal number of findings
errors: usizeNumber of errors
warnings: usizeNumber of warnings
info: usizeNumber of info messages
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LintStats
impl<'de> Deserialize<'de> for LintStats
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 LintStats
impl RefUnwindSafe for LintStats
impl Send for LintStats
impl Sync for LintStats
impl Unpin for LintStats
impl UnwindSafe for LintStats
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