pub struct PostgresMigrator<P: AsRef<Path>> { /* private fields */ }
Implementations§
Source§impl<P: AsRef<Path>> PostgresMigrator<P>
impl<P: AsRef<Path>> PostgresMigrator<P>
pub fn new(migrations_path: P) -> Self
pub fn migrations_table<T: Into<String>>(self, migrations_table: T) -> Self
pub fn ignore_missing_migrations(self, ignore_missing: bool) -> Self
Auto Trait Implementations§
impl<P> Freeze for PostgresMigrator<P>where
P: Freeze,
impl<P> RefUnwindSafe for PostgresMigrator<P>where
P: RefUnwindSafe,
impl<P> Send for PostgresMigrator<P>where
P: Send,
impl<P> Sync for PostgresMigrator<P>where
P: Sync,
impl<P> Unpin for PostgresMigrator<P>where
P: Unpin,
impl<P> UnwindSafe for PostgresMigrator<P>where
P: UnwindSafe,
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