pub struct Migrations { /* private fields */ }Implementations§
Source§impl Migrations
impl Migrations
pub const fn new(module: &'static str, files: &'static [File]) -> Self
Sourcepub const fn sqlite(self, sqlite: &'static [File]) -> Self
pub const fn sqlite(self, sqlite: &'static [File]) -> Self
Run on SQLite instead of the files of the same name, where its SQL differs:
SQLite names a module’s tables after it, such as order_order.
pub const fn aggregates(self, aggregates: &'static [AggregateTable]) -> Self
Trait Implementations§
Source§impl Clone for Migrations
impl Clone for Migrations
impl Copy for Migrations
Auto Trait Implementations§
impl !RefUnwindSafe for Migrations
impl !UnwindSafe for Migrations
impl Forget for Migrations
impl Freeze for Migrations
impl Send for Migrations
impl Sync for Migrations
impl Unpin for Migrations
impl UnsafeUnpin for Migrations
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