pub enum LintSeverity {
Info,
Warning,
Error,
}Expand description
Severity level for lint findings
Variants§
Info
Informational suggestion
Warning
Warning about potential issues
Error
Error that should be fixed
Trait Implementations§
Source§impl Clone for LintSeverity
impl Clone for LintSeverity
Source§fn clone(&self) -> LintSeverity
fn clone(&self) -> LintSeverity
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 LintSeverity
impl Debug for LintSeverity
Source§impl<'de> Deserialize<'de> for LintSeverity
impl<'de> Deserialize<'de> for LintSeverity
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
Source§impl Display for LintSeverity
impl Display for LintSeverity
Source§impl Ord for LintSeverity
impl Ord for LintSeverity
Source§fn cmp(&self, other: &LintSeverity) -> Ordering
fn cmp(&self, other: &LintSeverity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LintSeverity
impl PartialEq for LintSeverity
Source§impl PartialOrd for LintSeverity
impl PartialOrd for LintSeverity
Source§impl Serialize for LintSeverity
impl Serialize for LintSeverity
impl Copy for LintSeverity
impl Eq for LintSeverity
impl StructuralPartialEq for LintSeverity
Auto Trait Implementations§
impl Freeze for LintSeverity
impl RefUnwindSafe for LintSeverity
impl Send for LintSeverity
impl Sync for LintSeverity
impl Unpin for LintSeverity
impl UnwindSafe for LintSeverity
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.