pub enum SensorSeverity {
Info,
Warn,
Error,
}Expand description
Severity level for sensor findings (cockpit vocabulary).
Variants§
Trait Implementations§
Source§impl Clone for SensorSeverity
impl Clone for SensorSeverity
Source§fn clone(&self) -> SensorSeverity
fn clone(&self) -> SensorSeverity
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 SensorSeverity
impl Debug for SensorSeverity
Source§impl<'de> Deserialize<'de> for SensorSeverity
impl<'de> Deserialize<'de> for SensorSeverity
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 JsonSchema for SensorSeverity
impl JsonSchema for SensorSeverity
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SensorSeverity
impl PartialEq for SensorSeverity
Source§impl Serialize for SensorSeverity
impl Serialize for SensorSeverity
impl Copy for SensorSeverity
impl Eq for SensorSeverity
impl StructuralPartialEq for SensorSeverity
Auto Trait Implementations§
impl Freeze for SensorSeverity
impl RefUnwindSafe for SensorSeverity
impl Send for SensorSeverity
impl Sync for SensorSeverity
impl Unpin for SensorSeverity
impl UnsafeUnpin for SensorSeverity
impl UnwindSafe for SensorSeverity
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