pub struct SchemaOverlap {
pub vertex_pairs: Vec<(Name, Name)>,
pub edge_pairs: Vec<(Edge, Edge)>,
}Expand description
Specifies which elements of two schemas are identified (shared).
Each pair (left_id, right_id) declares that the left and right
elements represent the same concept and should be merged in the
pushout.
Fields§
§vertex_pairs: Vec<(Name, Name)>Pairs of vertex IDs from (left, right) that represent the same vertex.
edge_pairs: Vec<(Edge, Edge)>Pairs of edges from (left, right) that represent the same edge.
Trait Implementations§
Source§impl Clone for SchemaOverlap
impl Clone for SchemaOverlap
Source§fn clone(&self) -> SchemaOverlap
fn clone(&self) -> SchemaOverlap
Returns a duplicate of the value. Read more
1.0.0 · 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 SchemaOverlap
impl Debug for SchemaOverlap
Source§impl Default for SchemaOverlap
impl Default for SchemaOverlap
Source§fn default() -> SchemaOverlap
fn default() -> SchemaOverlap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchemaOverlap
impl RefUnwindSafe for SchemaOverlap
impl Send for SchemaOverlap
impl Sync for SchemaOverlap
impl Unpin for SchemaOverlap
impl UnsafeUnpin for SchemaOverlap
impl UnwindSafe for SchemaOverlap
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