Struct sea_schema::postgres::def::References [−][src]
pub struct References {
pub name: String,
pub columns: Vec<String>,
pub table: String,
pub foreign_columns: Vec<String>,
pub on_update: Option<ForeignKeyAction>,
pub on_delete: Option<ForeignKeyAction>,
}This is supported on crate features
postgres and def only.Expand description
A constraint that column references the values appearing in the row of another table
Fields
name: Stringcolumns: Vec<String>table: Stringforeign_columns: Vec<String>on_update: Option<ForeignKeyAction>on_delete: Option<ForeignKeyAction>Implementations
This is supported on crate feature
writer only.Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for References
impl Send for References
impl Sync for References
impl Unpin for References
impl UnwindSafe for References
Blanket Implementations
Mutably borrows from an owned value. Read more