Struct sqlite_parser::ForeignKey [−][src]
pub struct ForeignKey {
pub id: i32,
pub table: String,
pub from_column: Vec<Column>,
pub to_column: Vec<Column>,
}Represents a foreign key in SQLite
Fields
id: i32The id of the foreign key Starts with 0 and is incremented for each unique foreign key This means compound foreign key shares the same id
table: StringThe table it refers to
from_column: Vec<Column>The columns it refers from (own table)
to_column: Vec<Column>The columns it refers to (referring to table)
Trait Implementations
impl Clone for ForeignKey[src]
impl Clone for ForeignKey[src]fn clone(&self) -> ForeignKey[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<ForeignKey> for ForeignKey[src]
impl PartialEq<ForeignKey> for ForeignKey[src]fn eq(&self, other: &ForeignKey) -> bool[src]
fn ne(&self, other: &ForeignKey) -> bool[src]
impl StructuralPartialEq for ForeignKey[src]
impl StructuralPartialEq for ForeignKey[src]Auto Trait Implementations
impl RefUnwindSafe for ForeignKey
impl RefUnwindSafe for ForeignKeyimpl Send for ForeignKey
impl Send for ForeignKeyimpl Sync for ForeignKey
impl Sync for ForeignKeyimpl Unpin for ForeignKey
impl Unpin for ForeignKeyimpl UnwindSafe for ForeignKey
impl UnwindSafe for ForeignKey