pub enum RawSqlRet {
None,
Infer,
Types(Vec<Type>),
}Expand description
Return mode for a RawSql operation.
Variants§
None
Execute as a statement and return an affected-row count.
Infer
Execute as a query and infer result value types from driver metadata.
Drivers should map backend-native result metadata to the closest
stmt::Value variant. Ambiguous backend values
may decode to their storage representation.
Types(Vec<Type>)
Execute as a query using explicit result column type hints.
Type hints affect decoding only; drivers must execute the SQL text unchanged.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawSqlRet
impl RefUnwindSafe for RawSqlRet
impl Send for RawSqlRet
impl Sync for RawSqlRet
impl Unpin for RawSqlRet
impl UnsafeUnpin for RawSqlRet
impl UnwindSafe for RawSqlRet
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