pub enum ExpectedSqlResponse {
SingleRow,
ManyRows,
AffectedRows,
Pluck,
Batch,
}Expand description
Expected response type for a given SQL statement
Variants§
SingleRow
A single row
ManyRows
All the rows that matches a query
AffectedRows
How many rows were affected by the query
Pluck
Return the first column of the first row
Batch
Batch
Trait Implementations§
Source§impl Clone for ExpectedSqlResponse
impl Clone for ExpectedSqlResponse
impl Copy for ExpectedSqlResponse
Source§impl Debug for ExpectedSqlResponse
impl Debug for ExpectedSqlResponse
Auto Trait Implementations§
impl Freeze for ExpectedSqlResponse
impl RefUnwindSafe for ExpectedSqlResponse
impl Send for ExpectedSqlResponse
impl Sync for ExpectedSqlResponse
impl Unpin for ExpectedSqlResponse
impl UnsafeUnpin for ExpectedSqlResponse
impl UnwindSafe for ExpectedSqlResponse
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