pub struct PreparedStatement { /* private fields */ }Expand description
A prepared SQL statement that can be executed multiple times
Implementations§
Source§impl PreparedStatement
impl PreparedStatement
Sourcepub async fn execute(&self, params: &[Value]) -> Result<QueryResult>
pub async fn execute(&self, params: &[Value]) -> Result<QueryResult>
Execute the prepared statement with the given parameters
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PreparedStatement
impl !UnwindSafe for PreparedStatement
impl Freeze for PreparedStatement
impl Send for PreparedStatement
impl Sync for PreparedStatement
impl Unpin for PreparedStatement
impl UnsafeUnpin 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