pub trait AlterTable {
    // Provided methods
    fn rename_schema<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str,
        _new_table_name: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait { ... }
    fn rename_column<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str,
        _old_column_name: &'life2 str,
        _new_column_name: &'life3 str
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             Self: 'async_trait { ... }
    fn add_column<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str,
        _column_def: &'life2 ColumnDef
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait { ... }
    fn drop_column<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        _table_name: &'life1 str,
        _column_name: &'life2 str,
        _if_exists: bool
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             Self: 'async_trait { ... }
}

Provided Methods§

source

fn rename_schema<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, _table_name: &'life1 str, _new_table_name: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

source

fn rename_column<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 mut self, _table_name: &'life1 str, _old_column_name: &'life2 str, _new_column_name: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, Self: 'async_trait,

source

fn add_column<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, _table_name: &'life1 str, _column_def: &'life2 ColumnDef ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

source

fn drop_column<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, _table_name: &'life1 str, _column_name: &'life2 str, _if_exists: bool ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'async_trait>>where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, Self: 'async_trait,

Implementors§