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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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