pub struct RuntimeQueryExplain {
pub query: String,
pub mode: QueryMode,
pub statement: &'static str,
pub is_universal: bool,
pub plan_cost: PlanCost,
pub estimated_rows: f64,
pub estimated_selectivity: f64,
pub estimated_confidence: f64,
pub passes_applied: Vec<String>,
pub logical_plan: CanonicalLogicalPlan,
pub cte_materializations: Vec<String>,
}Fields§
§query: String§mode: QueryMode§statement: &'static str§is_universal: bool§plan_cost: PlanCost§estimated_rows: f64§estimated_selectivity: f64§estimated_confidence: f64§passes_applied: Vec<String>§logical_plan: CanonicalLogicalPlan§cte_materializations: Vec<String>Names of any CTEs declared by a leading WITH clause. Empty
for non-CTE queries. The plan tree is built against the
post-inlining body, so each CTE’s body is reachable inside
logical_plan as a regular Subquery (or, for bare refs, the
inlined Table node verbatim). This list lets renderers prepend
CteScan markers so operators see which CTEs were resolved.
Trait Implementations§
Source§impl Clone for RuntimeQueryExplain
impl Clone for RuntimeQueryExplain
Source§fn clone(&self) -> RuntimeQueryExplain
fn clone(&self) -> RuntimeQueryExplain
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 RuntimeQueryExplain
impl RefUnwindSafe for RuntimeQueryExplain
impl Send for RuntimeQueryExplain
impl Sync for RuntimeQueryExplain
impl Unpin for RuntimeQueryExplain
impl UnsafeUnpin for RuntimeQueryExplain
impl UnwindSafe for RuntimeQueryExplain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request