pub struct Manager { /* private fields */ }Expand description
Manages database migration.
Implementations§
Source§impl Manager
impl Manager
Sourcepub fn add_migration<T>(&mut self, migration: T) -> Result<()>where
T: Migration + 'static,
pub fn add_migration<T>(&mut self, migration: T) -> Result<()>where
T: Migration + 'static,
Adds new migration rules.
Auto Trait Implementations§
impl Freeze for Manager
impl !RefUnwindSafe for Manager
impl !Send for Manager
impl !Sync for Manager
impl Unpin for Manager
impl !UnwindSafe for Manager
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