pub struct SemanticDiff {
pub missing_entities: Vec<String>,
pub extra_entities: Vec<String>,
pub label_mismatches: Vec<String>,
pub parent_mismatches: Vec<String>,
pub import_mismatches: Vec<String>,
pub ontology_iri_mismatch: Option<(Option<String>, Option<String>)>,
}Expand description
Diff between two semantic snapshots (empty means equivalent for compared facets).
Fields§
§missing_entities: Vec<String>§extra_entities: Vec<String>§label_mismatches: Vec<String>§parent_mismatches: Vec<String>§import_mismatches: Vec<String>§ontology_iri_mismatch: Option<(Option<String>, Option<String>)>Implementations§
Trait Implementations§
Source§impl Clone for SemanticDiff
impl Clone for SemanticDiff
Source§fn clone(&self) -> SemanticDiff
fn clone(&self) -> SemanticDiff
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 SemanticDiff
impl Debug for SemanticDiff
Source§impl Default for SemanticDiff
impl Default for SemanticDiff
Source§fn default() -> SemanticDiff
fn default() -> SemanticDiff
Returns the “default value” for a type. Read more
impl Eq for SemanticDiff
Source§impl PartialEq for SemanticDiff
impl PartialEq for SemanticDiff
impl StructuralPartialEq for SemanticDiff
Auto Trait Implementations§
impl Freeze for SemanticDiff
impl RefUnwindSafe for SemanticDiff
impl Send for SemanticDiff
impl Sync for SemanticDiff
impl Unpin for SemanticDiff
impl UnsafeUnpin for SemanticDiff
impl UnwindSafe for SemanticDiff
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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.