pub struct MigrationSet<Ctx: ?Sized> {
pub migrations: Vec<Box<dyn Migration<Ctx = Ctx>>>,
}
Expand description
The Migration
s derived from the files in the source directory that need to
be applied.
Fields§
§migrations: Vec<Box<dyn Migration<Ctx = Ctx>>>
Implementations§
Source§impl<Ctx> MigrationSet<Ctx>where
Ctx: MigrationContext,
impl<Ctx> MigrationSet<Ctx>where
Ctx: MigrationContext,
pub fn new<T>(vs: T) -> MigrationSet<Ctx>
Auto Trait Implementations§
impl<Ctx> Freeze for MigrationSet<Ctx>where
Ctx: ?Sized,
impl<Ctx> !RefUnwindSafe for MigrationSet<Ctx>
impl<Ctx> Send for MigrationSet<Ctx>where
Ctx: ?Sized,
impl<Ctx> Sync for MigrationSet<Ctx>where
Ctx: ?Sized,
impl<Ctx> Unpin for MigrationSet<Ctx>where
Ctx: ?Sized,
impl<Ctx> !UnwindSafe for MigrationSet<Ctx>
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