pub struct PostgresDatabase {
pub table: Option<RustSafeName>,
pub uniques: Vec<CompositeUnique>,
pub schema: Option<String>,
pub storage: Storage,
}Expand description
PostgreSQL’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 = "…". Read by nothing, per SqliteDatabase::schema.
storage: StorageEverything every backend carries.
Trait Implementations§
Source§impl Clone for PostgresDatabase
impl Clone for PostgresDatabase
Auto Trait Implementations§
impl !Send for PostgresDatabase
impl !Sync for PostgresDatabase
impl Freeze for PostgresDatabase
impl RefUnwindSafe for PostgresDatabase
impl Unpin for PostgresDatabase
impl UnsafeUnpin for PostgresDatabase
impl UnwindSafe for PostgresDatabase
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