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>)
Available on crate feature
sqlite
only.SQLite representation of the ALTER TABLE operation.
MySQL(AlterTableData<'until_build, 'post_build>)
Available on crate feature
mysql
only.MySQL representation of the ALTER TABLE operation.
Postgres(AlterTableData<'until_build, 'post_build>)
Available on crate feature
postgres
only.Postgres representation of the ALTER TABLE operation.
Trait Implementations§
Source§impl<'post_build> AlterTable<'post_build> for AlterTableImpl<'_, 'post_build>
impl<'post_build> AlterTable<'post_build> for AlterTableImpl<'_, 'post_build>
Auto Trait Implementations§
impl<'until_build, 'post_build> Freeze for AlterTableImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> RefUnwindSafe for AlterTableImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Send for AlterTableImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Sync for AlterTableImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Unpin for AlterTableImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> !UnwindSafe for AlterTableImpl<'until_build, 'post_build>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more