pub struct SQLMigration {
pub version: u32,
pub description: String,
pub up_statements: Vec<String>,
pub down_statements: Vec<String>,
}Fields§
§version: u32§description: String§up_statements: Vec<String>§down_statements: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for SQLMigration
impl Clone for SQLMigration
Source§fn clone(&self) -> SQLMigration
fn clone(&self) -> SQLMigration
Returns a duplicate of the value. Read more
1.0.0 · 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 SQLMigration
impl RefUnwindSafe for SQLMigration
impl Send for SQLMigration
impl Sync for SQLMigration
impl Unpin for SQLMigration
impl UnsafeUnpin for SQLMigration
impl UnwindSafe for SQLMigration
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