Enum barrel::DatabaseChange [] [src]

pub enum DatabaseChange {
    CreateTable(TableRc<Fn(&mut Table)>),
    CreateTableIfNotExists(TableRc<Fn(&mut Table)>),
    ChangeTable(TableRc<Fn(&mut Table)>),
    RenameTable(StringString),
    DropTable(String),
    DropTableIfExists(String),
}

An enum set that represents a single change on a database

Variants

Create a new table

Create a new table only if it doesn't exist yet

Change fields on an existing table

Rename a table

Drop an existing table

Only drop a table if it exists

Trait Implementations

impl Clone for DatabaseChange
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for DatabaseChange

impl !Sync for DatabaseChange