pub struct LazyForeignKey { /* private fields */ }Expand description
Lazy-loaded foreign key information.
Implementations§
Source§impl LazyForeignKey
impl LazyForeignKey
Sourcepub fn referenced_table(&self) -> &str
pub fn referenced_table(&self) -> &str
Get referenced table.
Sourcepub fn referenced_columns(&self) -> &[String]
pub fn referenced_columns(&self) -> &[String]
Get referenced columns.
Trait Implementations§
Source§impl Clone for LazyForeignKey
impl Clone for LazyForeignKey
Source§fn clone(&self) -> LazyForeignKey
fn clone(&self) -> LazyForeignKey
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 LazyForeignKey
impl RefUnwindSafe for LazyForeignKey
impl Send for LazyForeignKey
impl Sync for LazyForeignKey
impl Unpin for LazyForeignKey
impl UnwindSafe for LazyForeignKey
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