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