pub struct PgBackend { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DatabaseBackend for PgBackend
impl DatabaseBackend for PgBackend
fn try_migrations(&mut self, migrations: &[MigrationWithStatus]) -> Result<()>
fn untry_migrations( &mut self, migrations: &[MigrationWithStatus], execute_revert_script: bool, ) -> Result<()>
fn migration_status( &mut self, commits_file: &CommittedFile, migrations: &[Migration], ) -> Result<Vec<MigrationWithStatus>>
fn execute_migrations( &mut self, migrations: &[MigrationWithStatus], ) -> Result<()>
Auto Trait Implementations§
impl Freeze for PgBackend
impl !RefUnwindSafe for PgBackend
impl Send for PgBackend
impl Sync for PgBackend
impl Unpin for PgBackend
impl !UnwindSafe for PgBackend
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