Struct mysql_binlog::BinlogEvent
source · [−]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,
}
Expand description
A binlog event as returned by EventIterator
. Filters out internal events
like the TableMapEvent and simplifies mapping GTIDs to individual events.
Fields
type_code: TypeCode
timestamp: u32
gtid: Option<Gtid>
logical_timestamp: Option<LogicalTimestamp>
schema_name: Option<String>
table_name: Option<String>
rows: Vec<RowEvent>
query: Option<String>
offset: u64
Trait Implementations
sourceimpl Debug for BinlogEvent
impl Debug for BinlogEvent
sourceimpl Serialize for BinlogEvent
impl Serialize for BinlogEvent
Auto Trait Implementations
impl RefUnwindSafe for BinlogEvent
impl Send for BinlogEvent
impl Sync for BinlogEvent
impl Unpin for BinlogEvent
impl UnwindSafe for BinlogEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more