Struct mysql_binlog_connector_rust::event::query_event::QueryEvent
source · pub struct QueryEvent {
pub thread_id: u32,
pub exec_time: u32,
pub error_code: u16,
pub schema: String,
pub query: String,
}
Fields§
§thread_id: u32
§exec_time: u32
§error_code: u16
§schema: String
§query: String
Implementations§
source§impl QueryEvent
impl QueryEvent
Trait Implementations§
source§impl Clone for QueryEvent
impl Clone for QueryEvent
source§fn clone(&self) -> QueryEvent
fn clone(&self) -> QueryEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueryEvent
impl Debug for QueryEvent
source§impl<'de> Deserialize<'de> for QueryEvent
impl<'de> Deserialize<'de> for QueryEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QueryEvent
impl RefUnwindSafe for QueryEvent
impl Send for QueryEvent
impl Sync for QueryEvent
impl Unpin for QueryEvent
impl UnwindSafe for QueryEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more