pub struct Query {
pub sql: String,
pub bindings: Vec<Value>,
}Expand description
A compiled, backend-specific query with its parameter bindings.
Produced by each backend’s SQL compiler after transforming a QueryBuilder.
You typically do not construct this directly.
Fields§
§sql: String§bindings: Vec<Value>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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