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: i32
The 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: String
The 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 ForeignKey
impl Send for ForeignKey
impl Send for ForeignKey
impl Sync for ForeignKey
impl Sync for ForeignKey
impl Unpin for ForeignKey
impl Unpin for ForeignKey
impl UnwindSafe for ForeignKey
impl UnwindSafe for ForeignKey