pub struct EdgeInfo {
pub from_table: String,
pub from_column: String,
pub to_table: String,
pub to_column: String,
pub cardinality: Cardinality,
}Expand description
Information about an edge (FK relationship) in the graph
Fields§
§from_table: StringSource table (child with FK)
from_column: StringSource column (FK column)
to_table: StringTarget table (parent being referenced)
to_column: StringTarget column (referenced column, usually PK)
cardinality: CardinalityRelationship cardinality (for ERD display)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdgeInfo
impl RefUnwindSafe for EdgeInfo
impl Send for EdgeInfo
impl Sync for EdgeInfo
impl Unpin for EdgeInfo
impl UnwindSafe for EdgeInfo
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