[][src]Struct mysql_binlog::BinlogEvent

pub struct BinlogEvent {
    pub type_code: TypeCode,
    pub timestamp: u32,
    pub gtid: Option<Gtid>,
    pub logical_timestamp: Option<LogicalTimestamp>,
    pub schema_name: Option<String>,
    pub table_name: Option<String>,
    pub rows: Vec<RowEvent>,
    pub query: Option<String>,
    pub offset: u64,
}

A binlog event as returned by EventIterator. Filters out internal events like the TableMapEvent and simplifies mapping GTIDs to individual events.

Fields

type_code: TypeCodetimestamp: u32gtid: Option<Gtid>logical_timestamp: Option<LogicalTimestamp>schema_name: Option<String>table_name: Option<String>rows: Vec<RowEvent>query: Option<String>offset: u64

Trait Implementations

impl Debug for BinlogEvent[src]

impl Serialize for BinlogEvent[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.