pub struct Issue {
pub path: String,
pub code: &'static str,
pub message: String,
pub severity: Severity,
}Expand description
A problem lint finds.
Fields§
§path: StringWhere, as a dotted path into the template (template.params[0]) or the data (data.title).
code: &'static strA stable code for the kind of problem.
message: StringWhat is wrong.
severity: Severityerror fails binding or compiling; warning does not.
Trait Implementations§
impl StructuralPartialEq for Issue
Auto Trait Implementations§
impl Forget for Issue
impl Freeze for Issue
impl Move for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnsafeUnpin for Issue
impl UnwindSafe for Issue
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