pub struct RelationshipRow {
pub table_schema: String,
pub table_name: String,
pub foreign_table_schema: String,
pub foreign_table_name: String,
pub is_self: bool,
pub constraint_name: String,
pub cols_and_fcols: Vec<(String, String)>,
pub one_to_one: bool,
}Expand description
Row type returned from relationships query
Fields§
§table_schema: String§table_name: String§foreign_table_schema: String§foreign_table_name: String§is_self: bool§constraint_name: String§cols_and_fcols: Vec<(String, String)>§one_to_one: boolImplementations§
Source§impl RelationshipRow
Convert RelationshipRow into Relationship
impl RelationshipRow
Convert RelationshipRow into Relationship
pub fn into_relationship(self) -> Relationship
Trait Implementations§
Source§impl Clone for RelationshipRow
impl Clone for RelationshipRow
Source§fn clone(&self) -> RelationshipRow
fn clone(&self) -> RelationshipRow
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 moreAuto Trait Implementations§
impl Freeze for RelationshipRow
impl RefUnwindSafe for RelationshipRow
impl Send for RelationshipRow
impl Sync for RelationshipRow
impl Unpin for RelationshipRow
impl UnsafeUnpin for RelationshipRow
impl UnwindSafe for RelationshipRow
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