pub enum DiagnosticClass {
ToolError,
ToolWarning,
PolicyError {
code: String,
},
PolicyWarning {
code: String,
},
AdvisoryWarning {
code: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for DiagnosticClass
impl Clone for DiagnosticClass
Source§fn clone(&self) -> DiagnosticClass
fn clone(&self) -> DiagnosticClass
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 DiagnosticClass
impl Debug for DiagnosticClass
Source§impl Ord for DiagnosticClass
impl Ord for DiagnosticClass
Source§fn cmp(&self, other: &DiagnosticClass) -> Ordering
fn cmp(&self, other: &DiagnosticClass) -> 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 DiagnosticClass
impl PartialEq for DiagnosticClass
Source§impl PartialOrd for DiagnosticClass
impl PartialOrd for DiagnosticClass
impl Eq for DiagnosticClass
impl StructuralPartialEq for DiagnosticClass
Auto Trait Implementations§
impl Freeze for DiagnosticClass
impl RefUnwindSafe for DiagnosticClass
impl Send for DiagnosticClass
impl Sync for DiagnosticClass
impl Unpin for DiagnosticClass
impl UnsafeUnpin for DiagnosticClass
impl UnwindSafe for DiagnosticClass
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