Struct fuel_indexer_database_types::ForeignKey
source · pub struct ForeignKey {
pub db_type: DbType,
pub namespace: String,
pub table_name: String,
pub column_name: String,
pub reference_table_name: String,
pub reference_column_name: String,
pub reference_column_type: String,
pub on_delete: OnDelete,
pub on_update: OnUpdate,
}Fields§
§db_type: DbType§namespace: String§table_name: String§column_name: String§reference_table_name: String§reference_column_name: String§reference_column_type: String§on_delete: OnDelete§on_update: OnUpdateImplementations§
Trait Implementations§
source§impl Clone for ForeignKey
impl Clone for ForeignKey
source§fn clone(&self) -> ForeignKey
fn clone(&self) -> ForeignKey
Returns a copy 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 moresource§impl CreateStatement for ForeignKey
impl CreateStatement for ForeignKey
fn create_statement(&self) -> String
source§impl Debug for ForeignKey
impl Debug for ForeignKey
source§impl Default for ForeignKey
impl Default for ForeignKey
source§fn default() -> ForeignKey
fn default() -> ForeignKey
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ForeignKey
impl Send for ForeignKey
impl Sync for ForeignKey
impl Unpin for ForeignKey
impl UnwindSafe for ForeignKey
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