pub struct ExecutionPlan {
pub sql: Arc<str>,
pub hash: u64,
pub hint: PlanHint,
pub estimated_cost: Option<f64>,
/* private fields */
}Expand description
A cached execution plan with optimization hints.
Fields§
§sql: Arc<str>The SQL query.
hash: u64Pre-computed hash for fast lookup.
hint: PlanHintExecution hint.
estimated_cost: Option<f64>Estimated cost (if available from EXPLAIN).
Implementations§
Source§impl ExecutionPlan
impl ExecutionPlan
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ExecutionPlan
impl RefUnwindSafe for ExecutionPlan
impl Send for ExecutionPlan
impl Sync for ExecutionPlan
impl Unpin for ExecutionPlan
impl UnwindSafe for ExecutionPlan
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