pub struct SqlMigration { /* private fields */ }Expand description
A migration defined by SQL strings.
Works with any context that implements SqlExecutor.
Implementations§
Trait Implementations§
Source§impl<Ctx> Migration<Ctx> for SqlMigrationwhere
Ctx: SqlExecutor,
impl<Ctx> Migration<Ctx> for SqlMigrationwhere
Ctx: SqlExecutor,
Source§fn can_rollback(&self) -> bool
fn can_rollback(&self) -> bool
Whether this migration supports rollback
Auto Trait Implementations§
impl Freeze for SqlMigration
impl RefUnwindSafe for SqlMigration
impl Send for SqlMigration
impl Sync for SqlMigration
impl Unpin for SqlMigration
impl UnwindSafe for SqlMigration
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