ForeignKeyRef in oxide_sql_core::migrations - Rust

Struct ForeignKeyRef 

Source

pub struct ForeignKeyRef {
    pub table: String,
    pub column: String,
    pub on_delete: Option<ForeignKeyAction>,
    pub on_update: Option<ForeignKeyAction>,
}
Expand description

A reference to a foreign key in another table.

The referenced table name.

§column: String

The referenced column name.

Action on delete.

Action on update.

Source§
Source§
Source§
Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Source§
Source§

§
§
§
§
§
§