pub struct ModelDiff {Show 14 fields
pub model_a: String,
pub model_b: String,
pub confidence_delta: f64,
pub nodes_only_a: Vec<String>,
pub nodes_only_b: Vec<String>,
pub nodes_common: Vec<String>,
pub edges_only_a: Vec<String>,
pub edges_only_b: Vec<String>,
pub edges_common: Vec<String>,
pub causal_nodes_added: usize,
pub causal_nodes_removed: usize,
pub causal_edges_added: usize,
pub causal_edges_removed: usize,
pub summary: String,
}Expand description
Differences between two exported models.
Fields§
§model_a: StringModel A identifier (domain).
model_b: StringModel B identifier (domain).
confidence_delta: f64Confidence delta (B - A).
nodes_only_a: Vec<String>Node types only in A.
nodes_only_b: Vec<String>Node types only in B.
nodes_common: Vec<String>Node types in both.
edges_only_a: Vec<String>Edge types only in A.
edges_only_b: Vec<String>Edge types only in B.
edges_common: Vec<String>Edge types in both.
causal_nodes_added: usizeCausal nodes added in B vs A.
causal_nodes_removed: usizeCausal nodes removed in B vs A.
causal_edges_added: usizeCausal edges added.
causal_edges_removed: usizeCausal edges removed.
summary: StringSummary assessment.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelDiff
impl<'de> Deserialize<'de> for ModelDiff
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
Auto Trait Implementations§
impl Freeze for ModelDiff
impl RefUnwindSafe for ModelDiff
impl Send for ModelDiff
impl Sync for ModelDiff
impl Unpin for ModelDiff
impl UnsafeUnpin for ModelDiff
impl UnwindSafe for ModelDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more