pub enum Step {
Statement {
sql: String,
params: Vec<SqlValue>,
expect_rows: Option<ExpectedRows>,
},
Script(String),
}Variants§
Statement
A mismatched expect_rows rolls back with its error; a check costs a round trip.
Script(String)
Trusted SQL only (migrations, framework setup), never input.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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