[][src]Enum mech_core::Change

pub enum Change {
    Set {
        table: u64,
        row: Index,
        column: Index,
        value: Value,
    },
    Remove {
        table: u64,
        row: Index,
        column: Index,
        value: Value,
    },
    NewTable {
        id: u64,
        rows: u64,
        columns: u64,
    },
    RenameColumn {
        table: u64,
        column_ix: u64,
        column_alias: u64,
    },
    RemoveTable {
        id: u64,
        rows: u64,
        columns: u64,
    },
}

Variants

Set

Fields of Set

table: u64row: Indexcolumn: Indexvalue: Value
Remove

Fields of Remove

table: u64row: Indexcolumn: Indexvalue: Value
NewTable

Fields of NewTable

id: u64rows: u64columns: u64
RenameColumn

Fields of RenameColumn

table: u64column_ix: u64column_alias: u64
RemoveTable

Fields of RemoveTable

id: u64rows: u64columns: u64

Trait Implementations

impl Clone for Change[src]

impl Debug for Change[src]

impl<'de> Deserialize<'de> for Change[src]

impl PartialEq<Change> for Change[src]

impl Serialize for Change[src]

impl StructuralPartialEq for Change[src]

Auto Trait Implementations

impl RefUnwindSafe for Change

impl Send for Change

impl Sync for Change

impl Unpin for Change

impl UnwindSafe for Change

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.