pub trait SQLiteColumnInfo: SQLColumnInfo {
// Required methods
fn is_autoincrement(&self) -> bool;
fn table(&self) -> &dyn SQLiteTableInfo;
// Provided methods
fn foreign_key(&self) -> Option<&'static dyn SQLiteColumnInfo> { ... }
fn as_sqlite_column(&self) -> &dyn SQLiteColumnInfo
where Self: Sized { ... }
fn foreign_key_core(&self) -> Option<&'static dyn SQLColumnInfo> { ... }
}Required Methods§
fn is_autoincrement(&self) -> bool
fn table(&self) -> &dyn SQLiteTableInfo
Provided Methods§
Sourcefn foreign_key(&self) -> Option<&'static dyn SQLiteColumnInfo>
fn foreign_key(&self) -> Option<&'static dyn SQLiteColumnInfo>
Returns the foreign key reference if this column has one.
Sourcefn as_sqlite_column(&self) -> &dyn SQLiteColumnInfowhere
Self: Sized,
fn as_sqlite_column(&self) -> &dyn SQLiteColumnInfowhere
Self: Sized,
Erased access to the SQLite column info.
Sourcefn foreign_key_core(&self) -> Option<&'static dyn SQLColumnInfo>
fn foreign_key_core(&self) -> Option<&'static dyn SQLColumnInfo>
Core-erased foreign key reference for call sites that only need generic info.