Skip to main content

ProjectedOperation

Type Alias ProjectedOperation 

Source
pub type ProjectedOperation<'a, M> = RowOperation<(<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>)>;
Expand description

A typed image and the selected column value, or None when it was not logged.

Aliased Type§

pub enum ProjectedOperation<'a, M> {
    Insert {
        after: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>),
    },
    Update {
        before: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>),
        after: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>),
    },
    Delete {
        before: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>),
    },
}

Variants§

§

Insert

Fields

§after: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>)
§

Update

Fields

§before: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>)
§after: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>)
§

Delete

Fields

§before: (<M as BinlogMode>::Image<'a>, Option<RowValue<'a>>)