pub struct QueryPlan {
pub plan_type: PlanType,
pub table: Option<TableId>,
pub estimated_cost: f64,
pub estimated_rows: u64,
pub selected_indexes: Vec<IndexSelection>,
pub steps: Vec<ExecutionStep>,
pub hints: QueryHints,
}Expand description
Query execution plan
Fields§
§plan_type: PlanTypePlan type
table: Option<TableId>Target table
estimated_cost: f64Estimated cost
estimated_rows: u64Estimated rows
selected_indexes: Vec<IndexSelection>Selected indexes
steps: Vec<ExecutionStep>Execution steps
hints: QueryHintsQuery hints
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryPlan
impl RefUnwindSafe for QueryPlan
impl Send for QueryPlan
impl Sync for QueryPlan
impl Unpin for QueryPlan
impl UnsafeUnpin for QueryPlan
impl UnwindSafe for QueryPlan
Blanket Implementations§
impl<T> Allocation for T
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