pub struct PreparedStatement { /* private fields */ }Implementations§
Source§impl PreparedStatement
impl PreparedStatement
pub fn bind(&mut self, index: usize, value: Value) -> Result<()>
pub fn bind_all(&mut self, values: Vec<Value>) -> Result<()>
pub fn clear_bindings(&mut self)
pub fn parameter_count(&self) -> usize
pub fn execute(&mut self, connection: &mut Connection) -> Result<QueryResult>
pub fn query(&mut self, connection: &mut Connection) -> Result<QueryResult>
Trait Implementations§
Source§impl Clone for PreparedStatement
impl Clone for PreparedStatement
Source§fn clone(&self) -> PreparedStatement
fn clone(&self) -> PreparedStatement
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 PreparedStatement
impl RefUnwindSafe for PreparedStatement
impl Send for PreparedStatement
impl Sync for PreparedStatement
impl Unpin for PreparedStatement
impl UnsafeUnpin for PreparedStatement
impl UnwindSafe for PreparedStatement
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