pub struct D1Arguments { /* private fields */ }Expand description
The parameters bound to one query, in placeholder order.
format_placeholder keeps its default, ?, which is what D1 expects.
Trait Implementations§
Source§impl Arguments for D1Arguments
impl Arguments for D1Arguments
type Database = D1
Source§fn reserve(&mut self, additional: usize, _size: usize)
fn reserve(&mut self, additional: usize, _size: usize)
Reserves the capacity for at least
additional more values (of size total bytes) to
be added to the arguments without a reallocation.Source§fn add<'t, T>(&mut self, value: T) -> Result<(), BoxDynError>
fn add<'t, T>(&mut self, value: T) -> Result<(), BoxDynError>
Add the value to the end of the arguments.
fn format_placeholder<W>(&self, writer: &mut W) -> Result<(), Error>where
W: Write,
Source§impl Clone for D1Arguments
impl Clone for D1Arguments
Source§impl Debug for D1Arguments
impl Debug for D1Arguments
Source§impl Default for D1Arguments
impl Default for D1Arguments
Source§impl IntoArguments<<D1Arguments as Arguments>::Database> for D1Arguments
impl IntoArguments<<D1Arguments as Arguments>::Database> for D1Arguments
fn into_arguments(self) -> D1Arguments
Auto Trait Implementations§
impl Freeze for D1Arguments
impl RefUnwindSafe for D1Arguments
impl Send for D1Arguments
impl Sync for D1Arguments
impl Unpin for D1Arguments
impl UnsafeUnpin for D1Arguments
impl UnwindSafe for D1Arguments
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more