pub struct LintReport {
pub errors: Vec<String>,
pub warnings: Vec<String>,
pub items: usize,
}Expand description
What lint found. Errors stop the plugin working; warnings do not.
Fields§
§errors: Vec<String>Problems that stop the plugin from working at all.
warnings: Vec<String>Problems worth fixing that do not stop it working.
items: usizeItems the sample query produced, when it ran at all.
Implementations§
Trait Implementations§
Source§impl Debug for LintReport
impl Debug for LintReport
Auto Trait Implementations§
impl Forget for LintReport
impl Freeze for LintReport
impl RefUnwindSafe for LintReport
impl Send for LintReport
impl Sync for LintReport
impl Unpin for LintReport
impl UnsafeUnpin for LintReport
impl UnwindSafe for LintReport
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