Struct SqlStatement
pub struct SqlStatement {
pub sql: String,
pub params: Vec<OwnedValue>,
}Expand description
One {sql, params} statement off the wire — the shape shared by a session begin’s
accumulated prefix, exec statements, query reads, and a one-shot SqlTxn’s
statements.
Fields§
§sql: String§params: Vec<OwnedValue>Trait Implementations§
§impl Clone for SqlStatement
impl Clone for SqlStatement
§fn clone(&self) -> SqlStatement
fn clone(&self) -> SqlStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SqlStatement
impl RefUnwindSafe for SqlStatement
impl Send for SqlStatement
impl Sync for SqlStatement
impl Unpin for SqlStatement
impl UnsafeUnpin for SqlStatement
impl UnwindSafe for SqlStatement
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