pub struct MigrationsSpec {
pub tool: MigrationTool,
pub dir: String,
pub run_on: MigrationRunOn,
pub command: Vec<String>,
}Fields§
§tool: MigrationTool§dir: String§run_on: MigrationRunOn§command: Vec<String>Trait Implementations§
Source§impl Clone for MigrationsSpec
impl Clone for MigrationsSpec
Source§fn clone(&self) -> MigrationsSpec
fn clone(&self) -> MigrationsSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MigrationsSpec
impl RefUnwindSafe for MigrationsSpec
impl Send for MigrationsSpec
impl Sync for MigrationsSpec
impl Unpin for MigrationsSpec
impl UnsafeUnpin for MigrationsSpec
impl UnwindSafe for MigrationsSpec
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