Struct ensemble::migrations::Migrator
source · pub struct Migrator { /* private fields */ }Expand description
The migration runner.
Implementations§
source§impl Migrator
impl Migrator
sourcepub fn pending(&self) -> HashMap<&str, &dyn Migration>
pub fn pending(&self) -> HashMap<&str, &dyn Migration>
Returns a list of migrations that have not been run.
Auto Trait Implementations§
impl !RefUnwindSafe for Migrator
impl Send for Migrator
impl !Sync for Migrator
impl Unpin for Migrator
impl !UnwindSafe for Migrator
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