pub struct Problem {
pub severity: Severity,
pub rule: Rule,
pub roles: Vec<String>,
pub message: String,
}Expand description
What check found wrong with a pattern map.
Fields§
§severity: SeverityAn error or a warning.
rule: RuleThe rule it breaks.
roles: Vec<String>The roles it is about.
message: StringWhat is wrong.
Trait Implementations§
impl Eq for Problem
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnsafeUnpin for Problem
impl UnwindSafe for Problem
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