pub enum CreateColumnImpl<'until_build, 'post_build> {
    SQLite(CreateColumnSQLiteData<'until_build, 'post_build>),
    MySQL(CreateColumnMySQLData<'until_build, 'post_build>),
    Postgres(CreateColumnPostgresData<'until_build, 'post_build>),
}
Expand description

Representation of the different implementations of the CreateColumn trait.

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

Variants§

§

SQLite(CreateColumnSQLiteData<'until_build, 'post_build>)

SQLite representation of the create column operation.

§

MySQL(CreateColumnMySQLData<'until_build, 'post_build>)

MySQL representation of the create column operation.

§

Postgres(CreateColumnPostgresData<'until_build, 'post_build>)

Postgres representation of the create column operation.

Trait Implementations§

Builds the column based on the data. Read more
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.