Struct sqlx_core::postgres::PgArguments
source · [−]pub struct PgArguments { /* private fields */ }
Expand description
Implementation of Arguments
for PostgreSQL.
Trait Implementations
sourceimpl<'q> Arguments<'q> for PgArguments
impl<'q> Arguments<'q> for PgArguments
type Database = Postgres
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: Encode<'q, Self::Database> + Type<Self::Database>,
fn add<T>(&mut self, value: T) where
T: Encode<'q, Self::Database> + Type<Self::Database>,
Add the value to the end of the arguments.
fn format_placeholder<W: Write>(&self, writer: &mut W) -> Result
sourceimpl Default for PgArguments
impl Default for PgArguments
sourcefn default() -> PgArguments
fn default() -> PgArguments
Returns the “default value” for a type. Read more
sourceimpl<'q> IntoArguments<'q, <PgArguments as Arguments<'q>>::Database> for PgArguments
impl<'q> IntoArguments<'q, <PgArguments as Arguments<'q>>::Database> for PgArguments
fn into_arguments(self) -> PgArguments
Auto Trait Implementations
impl !RefUnwindSafe for PgArguments
impl Send for PgArguments
impl Sync for PgArguments
impl Unpin for PgArguments
impl !UnwindSafe for PgArguments
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