Enum migrate_core::MigrationsSelection [−][src]
pub enum MigrationsSelection<'a> { Up { inclusive_bound: Option<&'a str>, }, Down { inclusive_bound: &'a str, }, }
Expand description
Selects direction of the migration as well as the bounding migration.
Variants
Run forward migration logic
Show fields
Run reverse migration logic that cancels actions done in
MigrationsSelection::Up
for migrations that are recorded in
migration state.
Show fields
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for MigrationsSelection<'a>
impl<'a> Send for MigrationsSelection<'a>
impl<'a> Sync for MigrationsSelection<'a>
impl<'a> Unpin for MigrationsSelection<'a>
impl<'a> UnwindSafe for MigrationsSelection<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more