[−][src]Struct rustorm::table::ForeignKey
example: category { id, name } product { product_id, name, category_id }
if the table in context is product and the foreign table is category ForeignKey{ name: product_category_fkey columns: [category_id] foreign_table: category referred_columns: [id] }
Fields
name: Option<String>
columns: Vec<ColumnName>
foreign_table: TableName
referred_columns: Vec<ColumnName>
Trait Implementations
impl Clone for ForeignKey
[src]
impl Clone for ForeignKey
fn clone(&self) -> ForeignKey
[src]
fn clone(&self) -> ForeignKey
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq<ForeignKey> for ForeignKey
[src]
impl PartialEq<ForeignKey> for ForeignKey
fn eq(&self, other: &ForeignKey) -> bool
[src]
fn eq(&self, other: &ForeignKey) -> bool
fn ne(&self, other: &ForeignKey) -> bool
[src]
fn ne(&self, other: &ForeignKey) -> bool
impl Debug for ForeignKey
[src]
impl Debug for ForeignKey
Auto Trait Implementations
impl Send for ForeignKey
impl Send for ForeignKey
impl Sync for ForeignKey
impl Sync for ForeignKey
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId