pub enum JsonSeverity {
Bug,
Error,
Warning,
Note,
Help,
}Expand description
Severity level in JSON format.
Variants§
Bug
Internal compiler error.
Error
A fatal error.
Warning
A warning.
Note
Informational note.
Help
Help message.
Trait Implementations§
Source§impl Clone for JsonSeverity
impl Clone for JsonSeverity
Source§fn clone(&self) -> JsonSeverity
fn clone(&self) -> JsonSeverity
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 JsonSeverity
Source§impl Debug for JsonSeverity
impl Debug for JsonSeverity
Source§impl<'de> Deserialize<'de> for JsonSeverity
impl<'de> Deserialize<'de> for JsonSeverity
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
impl Eq for JsonSeverity
Source§impl From<Severity> for JsonSeverity
impl From<Severity> for JsonSeverity
Source§impl PartialEq for JsonSeverity
impl PartialEq for JsonSeverity
Source§fn eq(&self, other: &JsonSeverity) -> bool
fn eq(&self, other: &JsonSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JsonSeverity
impl Serialize for JsonSeverity
impl StructuralPartialEq for JsonSeverity
Auto Trait Implementations§
impl Freeze for JsonSeverity
impl RefUnwindSafe for JsonSeverity
impl Send for JsonSeverity
impl Sync for JsonSeverity
impl Unpin for JsonSeverity
impl UnsafeUnpin for JsonSeverity
impl UnwindSafe for JsonSeverity
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