pub struct Relation {
pub kind: RelationKind,
pub parent: Table,
pub child: Table,
pub parent_key: ColumnRef,
pub child_key: ColumnRef,
pub join_table: Option<Table>,
pub join_parent_key: Option<ColumnRef>,
pub join_child_key: Option<ColumnRef>,
}Fields§
§kind: RelationKind§parent: Table§child: Table§parent_key: ColumnRef§child_key: ColumnRef§join_table: Option<Table>§join_parent_key: Option<ColumnRef>§join_child_key: Option<ColumnRef>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnwindSafe for Relation
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