pub struct BuiltQuery {
pub sql: String,
pub params: Vec<Value>,
}Expand description
A fully-built SQL query: the SQL string and its bound parameter values.
Fields§
§sql: StringThe SQL string with $1, $2, … placeholders.
params: Vec<Value>Parameter values in order.
Trait Implementations§
Source§impl Clone for BuiltQuery
impl Clone for BuiltQuery
Source§fn clone(&self) -> BuiltQuery
fn clone(&self) -> BuiltQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuiltQuery
impl Debug for BuiltQuery
Source§impl PartialEq for BuiltQuery
impl PartialEq for BuiltQuery
Source§fn eq(&self, other: &BuiltQuery) -> bool
fn eq(&self, other: &BuiltQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BuiltQuery
Auto Trait Implementations§
impl Freeze for BuiltQuery
impl RefUnwindSafe for BuiltQuery
impl Send for BuiltQuery
impl Sync for BuiltQuery
impl Unpin for BuiltQuery
impl UnsafeUnpin for BuiltQuery
impl UnwindSafe for BuiltQuery
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