pub enum AnnotationLevel {
Debug,
Notice,
Warning,
Error,
}Expand description
The severity of a FileAnnotation.
Variants§
Debug
The annotation is for debugging purposes.
Notice
The annotation is for informational purposes.
Warning
The annotation is for warning purposes.
Error
The annotation is for error purposes.
Trait Implementations§
Source§impl Clone for AnnotationLevel
impl Clone for AnnotationLevel
Source§fn clone(&self) -> AnnotationLevel
fn clone(&self) -> AnnotationLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AnnotationLevel
Source§impl Debug for AnnotationLevel
impl Debug for AnnotationLevel
Source§impl Default for AnnotationLevel
impl Default for AnnotationLevel
Source§fn default() -> AnnotationLevel
fn default() -> AnnotationLevel
Returns the “default value” for a type. Read more
impl Eq for AnnotationLevel
Source§impl PartialEq for AnnotationLevel
impl PartialEq for AnnotationLevel
Source§fn eq(&self, other: &AnnotationLevel) -> bool
fn eq(&self, other: &AnnotationLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnnotationLevel
Auto Trait Implementations§
impl Freeze for AnnotationLevel
impl RefUnwindSafe for AnnotationLevel
impl Send for AnnotationLevel
impl Sync for AnnotationLevel
impl Unpin for AnnotationLevel
impl UnsafeUnpin for AnnotationLevel
impl UnwindSafe for AnnotationLevel
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> 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.