pub struct TypedCompiled<T> {
pub sql: String,
pub params: Vec<Param>,
pub data: Vec<u8>,
pub marker: PhantomData<T>,
}Expand description
Fully compiled query payload with an attached row type.
Fields§
§sql: StringFinal SQL string ready to hand to a driver.
params: Vec<Param>Compact parameter values referenced by the SQL string.
data: Vec<u8>Interned text and blob storage referenced by params.
marker: PhantomData<T>Row type marker.
Implementations§
Source§impl<T> TypedCompiled<T>
impl<T> TypedCompiled<T>
Source§impl<T> TypedCompiled<T>where
T: FromRow,
impl<T> TypedCompiled<T>where
T: FromRow,
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TypedCompiled<T>
impl<T> RefUnwindSafe for TypedCompiled<T>where
T: RefUnwindSafe,
impl<T> Send for TypedCompiled<T>where
T: Send,
impl<T> Sync for TypedCompiled<T>where
T: Sync,
impl<T> Unpin for TypedCompiled<T>where
T: Unpin,
impl<T> UnsafeUnpin for TypedCompiled<T>
impl<T> UnwindSafe for TypedCompiled<T>where
T: UnwindSafe,
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