pub struct StatementEvent {
pub statement: String,
pub queries: Vec<Query>,
pub duration_ms: Option<f64>,
}Expand description
Structured statement payload.
Fields§
§statement: String§queries: Vec<Query>§duration_ms: Option<f64>Trait Implementations§
Source§impl Clone for StatementEvent
impl Clone for StatementEvent
Source§fn clone(&self) -> StatementEvent
fn clone(&self) -> StatementEvent
Returns a duplicate 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 StatementEvent
impl Debug for StatementEvent
Source§impl<'de> Deserialize<'de> for StatementEvent
impl<'de> Deserialize<'de> for StatementEvent
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 StatementEvent
impl RefUnwindSafe for StatementEvent
impl Send for StatementEvent
impl Sync for StatementEvent
impl Unpin for StatementEvent
impl UnsafeUnpin for StatementEvent
impl UnwindSafe for StatementEvent
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