Struct schemer::testing::TestMigration
source · pub struct TestMigration { /* private fields */ }
Expand description
A trivial struct implementing Migration
on which adapters can build their
mock migrations.
Implementations
sourceimpl TestMigration
impl TestMigration
Trait Implementations
sourceimpl Migration for TestMigration
impl Migration for TestMigration
sourcefn dependencies(&self) -> HashSet<Uuid>
fn dependencies(&self) -> HashSet<Uuid>
Set of IDs of all direct dependencies of this migration.
sourcefn description(&self) -> &'static str
fn description(&self) -> &'static str
User-targeted description of this migration.
Auto Trait Implementations
impl RefUnwindSafe for TestMigration
impl Send for TestMigration
impl Sync for TestMigration
impl Unpin for TestMigration
impl UnwindSafe for TestMigration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more