pub enum DifferenceKind {
AdditionalDetail,
MissingDetail,
TypeMismatch,
PredicateMismatch,
ModalityMismatch,
ContextMismatch,
EvidenceMismatch,
ConfidenceMismatch,
TemporalMismatch,
InvariantMismatch,
Contradiction,
ProjectionLoss,
}Expand description
Difference category inside a correspondence.
Variants§
AdditionalDetail
One participant contains extra detail.
MissingDetail
One participant lacks detail present in another.
TypeMismatch
Types differ.
PredicateMismatch
Predicates differ.
ModalityMismatch
Modalities such as observed, required, or forbidden differ.
ContextMismatch
Contexts differ or are incompatible.
EvidenceMismatch
Evidence differs.
ConfidenceMismatch
Confidence differs materially.
TemporalMismatch
Time or validity interval differs.
InvariantMismatch
Invariant satisfaction differs.
Contradiction
Participants contradict each other.
ProjectionLoss
Projection omitted or collapsed information.
Trait Implementations§
Source§impl Clone for DifferenceKind
impl Clone for DifferenceKind
Source§fn clone(&self) -> DifferenceKind
fn clone(&self) -> DifferenceKind
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 DifferenceKind
impl Debug for DifferenceKind
Source§impl<'de> Deserialize<'de> for DifferenceKind
impl<'de> Deserialize<'de> for DifferenceKind
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 Hash for DifferenceKind
impl Hash for DifferenceKind
Source§impl Ord for DifferenceKind
impl Ord for DifferenceKind
Source§fn cmp(&self, other: &DifferenceKind) -> Ordering
fn cmp(&self, other: &DifferenceKind) -> 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 DifferenceKind
impl PartialEq for DifferenceKind
Source§fn eq(&self, other: &DifferenceKind) -> bool
fn eq(&self, other: &DifferenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DifferenceKind
impl PartialOrd for DifferenceKind
Source§impl Serialize for DifferenceKind
impl Serialize for DifferenceKind
impl Copy for DifferenceKind
impl Eq for DifferenceKind
impl StructuralPartialEq for DifferenceKind
Auto Trait Implementations§
impl Freeze for DifferenceKind
impl RefUnwindSafe for DifferenceKind
impl Send for DifferenceKind
impl Sync for DifferenceKind
impl Unpin for DifferenceKind
impl UnsafeUnpin for DifferenceKind
impl UnwindSafe for DifferenceKind
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