Struct sqlx::sqlite::SqliteArguments
source Ā· [−]pub struct SqliteArguments<'q> { /* private fields */ }
This is supported on crate feature
sqlite
only.Trait Implementations
sourceimpl<'q> Arguments<'q> for SqliteArguments<'q>
impl<'q> Arguments<'q> for SqliteArguments<'q>
type Database = Sqlite
sourcefn reserve(&mut self, len: usize, _size_hint: usize)
fn reserve(&mut self, len: usize, _size_hint: usize)
Reserves the capacity for at least additional
more values (of size
total bytes) to
be added to the arguments without a reallocation. Read more
sourcefn add<T>(&mut self, value: T) where
T: Encode<'q, <SqliteArguments<'q> as Arguments<'q>>::Database>,
fn add<T>(&mut self, value: T) where
T: Encode<'q, <SqliteArguments<'q> as Arguments<'q>>::Database>,
Add the value to the end of the arguments.
fn format_placeholder<W>(&self, writer: &mut W) -> Result<(), Error> where
W: Write,
sourceimpl<'q> Clone for SqliteArguments<'q>
impl<'q> Clone for SqliteArguments<'q>
sourcefn clone(&self) -> SqliteArguments<'q>
fn clone(&self) -> SqliteArguments<'q>
Returns a copy of the value. Read more
1.0.0 Ā· sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'q> Debug for SqliteArguments<'q>
impl<'q> Debug for SqliteArguments<'q>
sourceimpl<'q> Default for SqliteArguments<'q>
impl<'q> Default for SqliteArguments<'q>
sourcefn default() -> SqliteArguments<'q>
fn default() -> SqliteArguments<'q>
Returns the ādefault valueā for a type. Read more
sourceimpl<'q> From<AnyArguments<'q>> for SqliteArguments<'q>
impl<'q> From<AnyArguments<'q>> for SqliteArguments<'q>
sourcefn from(args: AnyArguments<'q>) -> SqliteArguments<'q>
fn from(args: AnyArguments<'q>) -> SqliteArguments<'q>
Converts to this type from the input type.
sourceimpl<'q> IntoArguments<'q, <SqliteArguments<'q> as Arguments<'q>>::Database> for SqliteArguments<'q>
impl<'q> IntoArguments<'q, <SqliteArguments<'q> as Arguments<'q>>::Database> for SqliteArguments<'q>
fn into_arguments(self) -> SqliteArguments<'q>
Auto Trait Implementations
impl<'q> RefUnwindSafe for SqliteArguments<'q>
impl<'q> Send for SqliteArguments<'q>
impl<'q> Sync for SqliteArguments<'q>
impl<'q> Unpin for SqliteArguments<'q>
impl<'q> UnwindSafe for SqliteArguments<'q>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable Ā· sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
š¬ This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more