pub struct MergeStats {
pub total_node_types: usize,
pub total_edge_types: usize,
pub total_causal_nodes: usize,
pub total_causal_edges: usize,
pub conflicts_resolved: usize,
pub nodes_from_a: usize,
pub nodes_from_b: usize,
pub nodes_shared: usize,
}Expand description
Statistics about a model merge operation.
Fields§
§total_node_types: usizeTotal node types in the merged model.
total_edge_types: usizeTotal edge types in the merged model.
total_causal_nodes: usizeTotal causal nodes in the merged model.
total_causal_edges: usizeTotal causal edges in the merged model.
conflicts_resolved: usizeNumber of conflicts resolved.
nodes_from_a: usizeNode types from A only.
nodes_from_b: usizeNode types from B only.
Node types shared between A and B.
Trait Implementations§
Source§impl Clone for MergeStats
impl Clone for MergeStats
Source§impl Debug for MergeStats
impl Debug for MergeStats
Source§impl<'de> Deserialize<'de> for MergeStats
impl<'de> Deserialize<'de> for MergeStats
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 MergeStats
impl RefUnwindSafe for MergeStats
impl Send for MergeStats
impl Sync for MergeStats
impl Unpin for MergeStats
impl UnsafeUnpin for MergeStats
impl UnwindSafe for MergeStats
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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