pub struct SqliteDatabase {
pub table: Option<RustSafeName>,
pub uniques: Vec<CompositeUnique>,
pub schema: Option<String>,
pub storage: Storage,
}Expand description
SQLite’s own options.
Fields§
§table: Option<RustSafeName>table = "…", overriding Persist::table.
uniques: Vec<CompositeUnique>unique(…) — the composite constraints this database holds, in written order.
schema: Option<String>schema = "…" — SQLite’s attached-database name. Parsed and read by NOTHING: no emitted name
is qualified by it, so the table this database is addressed by is the bare one. Unlike the
table beside it, which does emit — see Persist.
storage: StorageEverything every backend carries.
Trait Implementations§
Source§impl Clone for SqliteDatabase
impl Clone for SqliteDatabase
Auto Trait Implementations§
impl !Send for SqliteDatabase
impl !Sync for SqliteDatabase
impl Freeze for SqliteDatabase
impl RefUnwindSafe for SqliteDatabase
impl Unpin for SqliteDatabase
impl UnsafeUnpin for SqliteDatabase
impl UnwindSafe for SqliteDatabase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more