pub struct QueryRecord {
pub fingerprint: String,
pub executor: ExecutorKind,
pub invocations: u64,
pub total_exec_us: u64,
}Expand description
Per-query performance record.
Fields§
§fingerprint: StringStable fingerprint derived from the canonical query text (first 64 chars).
executor: ExecutorKindWhether the native executor handled this query (always Fallback in stage 1).
invocations: u64How many times this query was invoked (one per focus node in stage 1).
total_exec_us: u64Total wall-clock execution time across all invocations, in microseconds.
Trait Implementations§
Source§impl Clone for QueryRecord
impl Clone for QueryRecord
Source§fn clone(&self) -> QueryRecord
fn clone(&self) -> QueryRecord
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 QueryRecord
impl RefUnwindSafe for QueryRecord
impl Send for QueryRecord
impl Sync for QueryRecord
impl Unpin for QueryRecord
impl UnsafeUnpin for QueryRecord
impl UnwindSafe for QueryRecord
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