pub enum ToStatementType<'a> {
Statement(&'a Statement),
Query(&'a str),
}
Expand description
enum Statement or Query
Variants§
Implementations§
Source§impl<'a> ToStatementType<'a>
impl<'a> ToStatementType<'a>
Auto Trait Implementations§
impl<'a> Freeze for ToStatementType<'a>
impl<'a> !RefUnwindSafe for ToStatementType<'a>
impl<'a> Send for ToStatementType<'a>
impl<'a> Sync for ToStatementType<'a>
impl<'a> Unpin for ToStatementType<'a>
impl<'a> !UnwindSafe for ToStatementType<'a>
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