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

Implementation of the AlterTable trait for the different database dialects.

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

Variants§

§

SQLite(AlterTableData<'until_build, 'post_build>)

SQLite representation of the ALTER TABLE operation.

§

MySQL(AlterTableData<'until_build, 'post_build>)

MySQL representation of the ALTER TABLE operation.

§

Postgres(AlterTableData<'until_build, 'post_build>)

Postgres representation of the ALTER TABLE operation.

Trait Implementations§

This method is used to build the alter table statement.
Formats the value using the given formatter. 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.