pub struct SlowQueryRecord {
pub query: String,
pub execution_time_ms: u64,
pub timestamp: String,
pub success: bool,
pub error: Option<String>,
pub rows_returned: u64,
}Expand description
Slow query record
Fields§
§query: StringQuery string
execution_time_ms: u64Execution time in milliseconds
timestamp: StringTimestamp
success: boolWhether the query was successful
error: Option<String>Error message if failed
rows_returned: u64Number of rows returned
Trait Implementations§
Source§impl Clone for SlowQueryRecord
impl Clone for SlowQueryRecord
Source§fn clone(&self) -> SlowQueryRecord
fn clone(&self) -> SlowQueryRecord
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 SlowQueryRecord
impl Debug for SlowQueryRecord
Source§impl<'de> Deserialize<'de> for SlowQueryRecord
impl<'de> Deserialize<'de> for SlowQueryRecord
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 SlowQueryRecord
impl RefUnwindSafe for SlowQueryRecord
impl Send for SlowQueryRecord
impl Sync for SlowQueryRecord
impl Unpin for SlowQueryRecord
impl UnsafeUnpin for SlowQueryRecord
impl UnwindSafe for SlowQueryRecord
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