pub struct ParameterizedSql {
pub template: String,
pub literals: Vec<String>,
}Expand description
The result of parameterize(sql).
Fields§
§template: StringThe SQL text with every literal replaced by ?.
literals: Vec<String>The original literal values in order of replacement.
Trait Implementations§
Source§impl Clone for ParameterizedSql
impl Clone for ParameterizedSql
Source§impl Debug for ParameterizedSql
impl Debug for ParameterizedSql
impl Eq for ParameterizedSql
Source§impl PartialEq for ParameterizedSql
impl PartialEq for ParameterizedSql
impl StructuralPartialEq for ParameterizedSql
Auto Trait Implementations§
impl Freeze for ParameterizedSql
impl RefUnwindSafe for ParameterizedSql
impl Send for ParameterizedSql
impl Sync for ParameterizedSql
impl Unpin for ParameterizedSql
impl UnsafeUnpin for ParameterizedSql
impl UnwindSafe for ParameterizedSql
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.