pub struct QueryColumnReference {
pub column: &'static str,
pub table: &'static str,
pub key: &'static str,
pub columns: &'static [QueryColumn],
}Expand description
Data for column that contains a reference.
As foreign key this would look like: foreign key (<column>) references <table>(<key>)
Fields§
§column: &'static strColumn in which the reference is stored
table: &'static strReferenced table
key: &'static strReferenced key
columns: &'static [QueryColumn]Columns of referenced table
Auto Trait Implementations§
impl Freeze for QueryColumnReference
impl RefUnwindSafe for QueryColumnReference
impl Send for QueryColumnReference
impl Sync for QueryColumnReference
impl Unpin for QueryColumnReference
impl UnwindSafe for QueryColumnReference
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