pub struct QueryProfile {
pub plan: QueryPlan,
pub metrics: ProfileMetrics,
}Expand description
Result of Database::profile.
Fields§
§plan: QueryPlanThe plan that was profiled. Same shape as QueryPlan from
explain().
metrics: ProfileMetricsRuntime metrics gathered during execution.
Trait Implementations§
Source§impl Clone for QueryProfile
impl Clone for QueryProfile
Source§fn clone(&self) -> QueryProfile
fn clone(&self) -> QueryProfile
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 QueryProfile
impl RefUnwindSafe for QueryProfile
impl Send for QueryProfile
impl Sync for QueryProfile
impl Unpin for QueryProfile
impl UnsafeUnpin for QueryProfile
impl UnwindSafe for QueryProfile
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