pub enum SemanticSeverity {
Clean,
Warning,
PreconditionUnmet,
}Expand description
Severity level of a semantic change detected during diff.
Variants§
Clean
No semantic change detected.
Warning
Change detected but restore may proceed with operator acknowledgement.
PreconditionUnmet
Blocking change; restore cannot proceed without explicit override.
Trait Implementations§
Source§impl Clone for SemanticSeverity
impl Clone for SemanticSeverity
Source§fn clone(&self) -> SemanticSeverity
fn clone(&self) -> SemanticSeverity
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 moreSource§impl Debug for SemanticSeverity
impl Debug for SemanticSeverity
Source§impl<'de> Deserialize<'de> for SemanticSeverity
impl<'de> Deserialize<'de> for SemanticSeverity
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 Ord for SemanticSeverity
impl Ord for SemanticSeverity
Source§fn cmp(&self, other: &SemanticSeverity) -> Ordering
fn cmp(&self, other: &SemanticSeverity) -> Ordering
1.21.0 (const: unstable) · 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 SemanticSeverity
impl PartialEq for SemanticSeverity
Source§fn eq(&self, other: &SemanticSeverity) -> bool
fn eq(&self, other: &SemanticSeverity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SemanticSeverity
impl PartialOrd for SemanticSeverity
Source§impl Serialize for SemanticSeverity
impl Serialize for SemanticSeverity
impl Copy for SemanticSeverity
impl Eq for SemanticSeverity
impl StructuralPartialEq for SemanticSeverity
Auto Trait Implementations§
impl Freeze for SemanticSeverity
impl RefUnwindSafe for SemanticSeverity
impl Send for SemanticSeverity
impl Sync for SemanticSeverity
impl Unpin for SemanticSeverity
impl UnsafeUnpin for SemanticSeverity
impl UnwindSafe for SemanticSeverity
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