pub enum InsertImpl<'until_build, 'post_build> {
    SQLite(InsertData<'until_build, 'post_build>),
    MySQL(InsertData<'until_build, 'post_build>),
    Postgres(InsertData<'until_build, 'post_build>),
}
Expand description

Implementation of the Insert trait for the different implementations.

Should only be constructed via [DBImpl::insert].

Variants

SQLite(InsertData<'until_build, 'post_build>)

SQLite representation of the INSERT operation.

MySQL(InsertData<'until_build, 'post_build>)

MySQL representation of the INSERT operation.

Postgres(InsertData<'until_build, 'post_build>)

Postgres representation of the INSERT operation.

Trait Implementations

Formats the value using the given formatter. Read more
Turns on ROLLBACK mode. Read more
This method is used to build the INSERT query. It returns the build query as well as a vector of values to bind to it. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.