pub struct Statement<'a> {
pub code: &'static str,
pub vals: &'a [&'a (dyn ToSql + Sync)],
}Fields§
§code: &'static strThe SQL code with placeholders in the form of $1, $2, etc
vals: &'a [&'a (dyn ToSql + Sync)]The values being injected into the prepared statement
Auto Trait Implementations§
impl<'a> Freeze for Statement<'a>
impl<'a> !RefUnwindSafe for Statement<'a>
impl<'a> Send for Statement<'a>
impl<'a> Sync for Statement<'a>
impl<'a> Unpin for Statement<'a>
impl<'a> !UnwindSafe for Statement<'a>
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