pub struct RawSqlOp {
pub up_sql: String,
pub down_sql: Option<String>,
}Expand description
Raw SQL operation.
Fields§
§up_sql: StringSQL to run for the up migration.
down_sql: Option<String>SQL to run for the down migration (if reversible).
Trait Implementations§
impl Eq for RawSqlOp
impl StructuralPartialEq for RawSqlOp
Auto Trait Implementations§
impl Freeze for RawSqlOp
impl RefUnwindSafe for RawSqlOp
impl Send for RawSqlOp
impl Sync for RawSqlOp
impl Unpin for RawSqlOp
impl UnwindSafe for RawSqlOp
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