[][src]Enum mysql_binlog::event::EventData

pub enum EventData {
    GtidLogEvent {
        flags: u8,
        uuid: Uuid,
        coordinate: u64,
        last_committed: Option<u64>,
        sequence_number: Option<u64>,
    },
    QueryEvent {
        thread_id: u32,
        exec_time: u32,
        error_code: i16,
        schema: String,
        query: String,
    },
    FormatDescriptionEvent {
        binlog_version: u16,
        server_version: String,
        create_timestamp: u32,
        common_header_len: u8,
        checksum_algorithm: ChecksumAlgorithm,
    },
    TableMapEvent {
        table_id: u64,
        schema_name: String,
        table_name: String,
        columns: Vec<ColumnType>,
        null_bitmap: BitSet,
    },
    WriteRowsEvent {
        table_id: u64,
        rows: Vec<RowEvent>,
    },
    UpdateRowsEvent {
        table_id: u64,
        rows: Vec<RowEvent>,
    },
    DeleteRowsEvent {
        table_id: u64,
        rows: Vec<RowEvent>,
    },
}

Variants

GtidLogEvent

Fields of GtidLogEvent

flags: u8uuid: Uuidcoordinate: u64last_committed: Option<u64>sequence_number: Option<u64>
QueryEvent

Fields of QueryEvent

thread_id: u32exec_time: u32error_code: i16schema: Stringquery: String
FormatDescriptionEvent

Fields of FormatDescriptionEvent

binlog_version: u16server_version: Stringcreate_timestamp: u32common_header_len: u8checksum_algorithm: ChecksumAlgorithm
TableMapEvent

Fields of TableMapEvent

table_id: u64schema_name: Stringtable_name: Stringcolumns: Vec<ColumnType>null_bitmap: BitSet
WriteRowsEvent

Fields of WriteRowsEvent

table_id: u64rows: Vec<RowEvent>
UpdateRowsEvent

Fields of UpdateRowsEvent

table_id: u64rows: Vec<RowEvent>
DeleteRowsEvent

Fields of DeleteRowsEvent

table_id: u64rows: Vec<RowEvent>

Trait Implementations

impl Debug for EventData[src]

Auto Trait Implementations

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> From<T> for T[src]

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

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.