Struct sqlx::any::AnyArguments
source Ā· [−]pub struct AnyArguments<'q> { /* private fields */ }
Trait Implementations
sourceimpl<'q> Arguments<'q> for AnyArguments<'q>
impl<'q> Arguments<'q> for AnyArguments<'q>
type Database = Any
sourcefn 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. Read more
sourcefn add<T>(&mut self, value: T) where
T: 'q + Send + Encode<'q, <AnyArguments<'q> as Arguments<'q>>::Database> + Type<<AnyArguments<'q> as Arguments<'q>>::Database>,
fn add<T>(&mut self, value: T) where
T: 'q + Send + Encode<'q, <AnyArguments<'q> as Arguments<'q>>::Database> + Type<<AnyArguments<'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> Default for AnyArguments<'q>
impl<'q> Default for AnyArguments<'q>
sourcefn default() -> AnyArguments<'q>
fn default() -> AnyArguments<'q>
Returns the ādefault valueā for a type. Read more
sourceimpl<'q> From<AnyArguments<'q>> for MySqlArguments
impl<'q> From<AnyArguments<'q>> for MySqlArguments
sourcefn from(args: AnyArguments<'q>) -> MySqlArguments
fn from(args: AnyArguments<'q>) -> MySqlArguments
Converts to this type from the input type.
sourceimpl<'q> From<AnyArguments<'q>> for MssqlArguments
impl<'q> From<AnyArguments<'q>> for MssqlArguments
sourcefn from(args: AnyArguments<'q>) -> MssqlArguments
fn from(args: AnyArguments<'q>) -> MssqlArguments
Converts to this type from the input type.
sourceimpl<'q> From<AnyArguments<'q>> for PgArguments
impl<'q> From<AnyArguments<'q>> for PgArguments
sourcefn from(args: AnyArguments<'q>) -> PgArguments
fn from(args: AnyArguments<'q>) -> PgArguments
Converts to this type from the input type.
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, <AnyArguments<'q> as Arguments<'q>>::Database> for AnyArguments<'q>
impl<'q> IntoArguments<'q, <AnyArguments<'q> as Arguments<'q>>::Database> for AnyArguments<'q>
fn into_arguments(self) -> AnyArguments<'q>
Auto Trait Implementations
impl<'q> !RefUnwindSafe for AnyArguments<'q>
impl<'q> Send for AnyArguments<'q>
impl<'q> !Sync for AnyArguments<'q>
impl<'q> Unpin for AnyArguments<'q>
impl<'q> !UnwindSafe for AnyArguments<'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