pub struct ExecutionPlan {
pub sql: String,
pub parameters: Vec<(String, Value)>,
pub is_cached: bool,
pub estimated_cost: usize,
pub projection_fields: Vec<String>,
pub jsonb_strategy: JsonbStrategy,
}Expand description
Execution plan for a query.
Fields§
§sql: StringSQL query to execute.
parameters: Vec<(String, Value)>Parameter bindings (parameter name → value).
is_cached: boolWhether this plan uses a cached result.
estimated_cost: usizeEstimated cost (for optimization).
projection_fields: Vec<String>Fields to project from JSONB result.
jsonb_strategy: JsonbStrategyJSONB handling strategy for this query
Trait Implementations§
Source§impl Clone for ExecutionPlan
impl Clone for ExecutionPlan
Source§fn clone(&self) -> ExecutionPlan
fn clone(&self) -> ExecutionPlan
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecutionPlan
impl RefUnwindSafe for ExecutionPlan
impl Send for ExecutionPlan
impl Sync for ExecutionPlan
impl Unpin for ExecutionPlan
impl UnsafeUnpin 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