Struct sqlm_postgres::Sql
source · pub struct Sql<'a, Cols, T> { /* private fields */ }
Expand description
The struct created by sql!
; executed by calling .await
.
Implementations§
Trait Implementations§
source§impl<'a, Cols, T> IntoFuture for Sql<'a, Cols, T>
impl<'a, Cols, T> IntoFuture for Sql<'a, Cols, T>
§type IntoFuture = SqlFuture<'a, T>
type IntoFuture = SqlFuture<'a, T>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a, Cols, T> Freeze for Sql<'a, Cols, T>
impl<'a, Cols, T> !RefUnwindSafe for Sql<'a, Cols, T>
impl<'a, Cols, T> Send for Sql<'a, Cols, T>
impl<'a, Cols, T> Sync for Sql<'a, Cols, T>
impl<'a, Cols, T> Unpin for Sql<'a, Cols, T>
impl<'a, Cols, T> !UnwindSafe for Sql<'a, Cols, T>
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