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