pub struct Migration {
pub version: i64,
pub description: &'static str,
pub sql_up: &'static str,
}Expand description
Represents a versioned schema migration step.
Fields§
§version: i64§description: &'static str§sql_up: &'static strAuto Trait Implementations§
impl Forget for Migration
impl Freeze for Migration
impl Move for Migration
impl RefUnwindSafe for Migration
impl Send for Migration
impl Sync for Migration
impl Unpin for Migration
impl UnsafeUnpin for Migration
impl UnwindSafe for Migration
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