pub struct Relation { /* private fields */ }Implementations§
Source§impl Relation
impl Relation
pub fn new<SS: Into<String>>( to_table_name: SS, to_column_name: SS, from_table_name: SS, from_column_name: SS, relation_type: RelationType, disable_usage_checking: bool, ) -> Self
pub fn to_table_name(&self) -> &str
pub fn to_column_name(&self) -> &str
pub fn from_table_name(&self) -> &str
pub fn from_column_name(&self) -> &str
pub fn relation_type(&self) -> RelationType
pub fn disable_usage_checking(&self) -> bool
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 UnsafeUnpin 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