pub struct Relationship {
pub name: String,
pub from_table: String,
pub to_table: String,
pub columns: Vec<RelationshipColumn>,
pub flags: u32,
}Expand description
A single relationship (foreign key constraint).
Fields§
§name: StringRelationship name (szRelationship).
from_table: StringChild (referencing) table name (szObject).
to_table: StringParent (referenced) table name (szReferencedObject).
columns: Vec<RelationshipColumn>Column pairs.
flags: u32Relationship flags (grbit).
Trait Implementations§
Source§impl Clone for Relationship
impl Clone for Relationship
Source§fn clone(&self) -> Relationship
fn clone(&self) -> Relationship
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 Relationship
impl RefUnwindSafe for Relationship
impl Send for Relationship
impl Sync for Relationship
impl Unpin for Relationship
impl UnsafeUnpin for Relationship
impl UnwindSafe for Relationship
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