pub struct Query<P> { /* private fields */ }
Expand description
A string buffer for a SQL query with a list of a values that should be passed along as query parameters to rusqlite when querying.
Implementations
sourceimpl Query<&dyn ToSql>
impl Query<&dyn ToSql>
Trait Implementations
sourceimpl<P> QueryWriter<P> for Query<P>
impl<P> QueryWriter<P> for Query<P>
fn push_param(&mut self, p: P) -> &mut Self
fn push_sql(&mut self, s: &str) -> &mut Self
fn nl(&mut self) -> &mut Self
fn with_indent<I>(&mut self, indent: I) -> IndentedQueryWriter<&mut Self, I> where
Self: Sized,
I: Iterator<Item = &'static str>,
fn push<T>(&mut self, ptq: T) -> &mut Self where
Self: Sized,
T: PushToQuery<P>,
Auto Trait Implementations
impl<P> RefUnwindSafe for Query<P> where
P: RefUnwindSafe,
impl<P> Send for Query<P> where
P: Send,
impl<P> Sync for Query<P> where
P: Sync,
impl<P> Unpin for Query<P> where
P: Unpin,
impl<P> UnwindSafe for Query<P> where
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more