pub struct MigrationFile {
pub name: String,
pub up_sql: String,
pub down_sql: String,
}
Fields§
§name: String
§up_sql: String
§down_sql: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MigrationFile
impl RefUnwindSafe for MigrationFile
impl Send for MigrationFile
impl Sync for MigrationFile
impl Unpin for MigrationFile
impl UnwindSafe for MigrationFile
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