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

Implementation of the Update trait for the different implementations.

Should only be constructed via DBImpl::update.

Variants

SQLite(UpdateData<'until_build, 'post_build>)

SQLite representation of the UPDATE operation.

MySQL(UpdateData<'until_build, 'post_build>)

MySQL representation of the UPDATE operation.

Postgres(UpdateData<'until_build, 'post_build>)

Postgres representation of the UPDATE operation.

Trait Implementations

Formats the value using the given formatter. Read more
Turns on ROLLBACK mode. Read more
Adds a Condition to the update query. Read more
Add an update Read more
Builds the given statement. 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.