pub struct SqlQuery {
pub text: String,
pub params: Vec<SqlParam>,
}Expand description
Translated SQL: text with placeholders, and what to bind to them, in order.
Fields§
§text: StringThe SQL text.
params: Vec<SqlParam>The values for the placeholders, in order.
Trait Implementations§
impl StructuralPartialEq for SqlQuery
Auto Trait Implementations§
impl Freeze for SqlQuery
impl RefUnwindSafe for SqlQuery
impl Send for SqlQuery
impl Sync for SqlQuery
impl Unpin for SqlQuery
impl UnsafeUnpin for SqlQuery
impl UnwindSafe for SqlQuery
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