pub struct PostgresPrepared { /* private fields */ }Expand description
Prepared statement wrapper for Postgres.
Holds the tokio_postgres::Statement and collected parameter Values for binding/execution through the Executor APIs.
Trait Implementations§
Source§impl Debug for PostgresPrepared
impl Debug for PostgresPrepared
Source§impl Display for PostgresPrepared
impl Display for PostgresPrepared
Source§impl Prepared for PostgresPrepared
impl Prepared for PostgresPrepared
fn as_any(self: Box<Self>) -> Box<dyn Any>
Source§fn clear_bindings(&mut self) -> Result<&mut Self>
fn clear_bindings(&mut self) -> Result<&mut Self>
Clear all bound values.
Source§fn bind_index(&mut self, value: impl AsValue, index: u64) -> Result<&mut Self>
fn bind_index(&mut self, value: impl AsValue, index: u64) -> Result<&mut Self>
Bind a value at a specific index.
Source§fn metadata(&self) -> &QueryMetadata
fn metadata(&self) -> &QueryMetadata
Get QueryMetadata
Source§fn metadata_mut(&mut self) -> &mut QueryMetadata
fn metadata_mut(&mut self) -> &mut QueryMetadata
Get mutable QueryMetadata
Auto Trait Implementations§
impl Freeze for PostgresPrepared
impl !RefUnwindSafe for PostgresPrepared
impl Send for PostgresPrepared
impl Sync for PostgresPrepared
impl Unpin for PostgresPrepared
impl !UnwindSafe for PostgresPrepared
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