pub struct Edge {
pub child: String,
pub child_column: usize,
pub parent: String,
pub parent_column: usize,
}Expand description
One relationship, with both sides resolved to a table and a column of it.
Names and not rudb_graph::Relationship, because by the time a build runs the caller has
already turned a declaration’s column names into positions against the catalog, and doing it
again here would be a second place for the two to disagree.
Fields§
§child: StringThe many side, which is where the link is stored.
child_column: usizeWhich column of it holds the key.
parent: StringThe one side, which is where the key map is.
parent_column: usizeWhich column of it holds the key.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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