pub struct SqlLogEntry {Show 14 fields
pub operation: SqlLogOperation,
pub sql: String,
pub params: Vec<Value>,
pub debug_sql: String,
pub pretty_sql: String,
pub started_at: SystemTime,
pub ended_at: SystemTime,
pub elapsed: Duration,
pub result_count: Option<usize>,
pub result_type: Option<String>,
pub affected_rows: Option<u64>,
pub result_summary: String,
pub user_identifier: Option<String>,
pub comment: Option<String>,
}Fields§
§operation: SqlLogOperation§sql: String§params: Vec<Value>§debug_sql: String§pretty_sql: String§started_at: SystemTime§ended_at: SystemTime§elapsed: Duration§result_count: Option<usize>§result_type: Option<String>§affected_rows: Option<u64>§result_summary: String§user_identifier: Option<String>§comment: Option<String>Trait Implementations§
Source§impl Clone for SqlLogEntry
impl Clone for SqlLogEntry
Source§fn clone(&self) -> SqlLogEntry
fn clone(&self) -> SqlLogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SqlLogEntry
impl Debug for SqlLogEntry
Source§impl PartialEq for SqlLogEntry
impl PartialEq for SqlLogEntry
Source§fn eq(&self, other: &SqlLogEntry) -> bool
fn eq(&self, other: &SqlLogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SqlLogEntry
Auto Trait Implementations§
impl Freeze for SqlLogEntry
impl RefUnwindSafe for SqlLogEntry
impl Send for SqlLogEntry
impl Sync for SqlLogEntry
impl Unpin for SqlLogEntry
impl UnsafeUnpin for SqlLogEntry
impl UnwindSafe for SqlLogEntry
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