pub struct SlowQueryRecord {
pub sql: String,
pub elapsed: Duration,
pub threshold: Duration,
}Expand description
慢查询记录
Fields§
§sql: String§elapsed: Duration§threshold: DurationTrait 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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