pub enum DropTableImpl<'until_build> {
    SQLite(DropTableData<'until_build>),
    MySQL(DropTableData<'until_build>),
    Postgres(DropTableData<'until_build>),
}
Expand description

Implementation of the DropTable trait for the different implementations.

Should only be constructed via crate::DBImpl::drop_table.

Variants

SQLite(DropTableData<'until_build>)

SQLite representation of the DROP TABLE operation.

MySQL(DropTableData<'until_build>)

MySQL representation of the DROP TABLE operation.

Postgres(DropTableData<'until_build>)

Postgres representation of the DROP TABLE operation.

Trait Implementations

Formats the value using the given formatter. Read more
Drops the table only, if it exists. Read more
This method is used to build the drop table 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.