pub struct LintProblem {
pub line: usize,
pub column: usize,
pub message: String,
pub rule: String,
pub level: LintLevel,
}Expand description
A lint problem found in a YAML file
Fields§
§line: usizeLine number (1-indexed)
column: usizeColumn number (1-indexed)
message: StringDescription of the problem
rule: StringName of the rule that detected this problem
level: LintLevelSeverity level
Implementations§
Trait Implementations§
Source§impl Clone for LintProblem
impl Clone for LintProblem
Source§fn clone(&self) -> LintProblem
fn clone(&self) -> LintProblem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LintProblem
impl Debug for LintProblem
Source§impl Ord for LintProblem
impl Ord for LintProblem
Source§impl PartialEq for LintProblem
impl PartialEq for LintProblem
Source§impl PartialOrd for LintProblem
impl PartialOrd for LintProblem
impl Eq for LintProblem
impl StructuralPartialEq for LintProblem
Auto Trait Implementations§
impl Freeze for LintProblem
impl RefUnwindSafe for LintProblem
impl Send for LintProblem
impl Sync for LintProblem
impl Unpin for LintProblem
impl UnwindSafe for LintProblem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.