pub struct ExplainPlan {
pub mode: QueryMode,
pub access: ExplainAccessPath,
pub predicate: ExplainPredicate,
pub order_by: ExplainOrderBy,
pub distinct: bool,
pub grouping: ExplainGrouping,
pub order_pushdown: ExplainOrderPushdown,
pub page: ExplainPagination,
pub delete_limit: ExplainDeleteLimit,
pub consistency: MissingRowPolicy,
/* private fields */
}Expand description
ExplainPlan
Stable, deterministic representation of a planned query for observability.
Fields§
§mode: QueryMode§access: ExplainAccessPath§predicate: ExplainPredicate§order_by: ExplainOrderBy§distinct: bool§grouping: ExplainGrouping§order_pushdown: ExplainOrderPushdown§page: ExplainPagination§delete_limit: ExplainDeleteLimit§consistency: MissingRowPolicyImplementations§
Source§impl ExplainPlan
impl ExplainPlan
Sourcepub fn fingerprint(&self) -> PlanFingerprint
pub fn fingerprint(&self) -> PlanFingerprint
Compute a stable fingerprint for this explain plan.
Source§impl ExplainPlan
impl ExplainPlan
Sourcepub fn continuation_signature(
&self,
entity_path: &'static str,
) -> ContinuationSignature
pub fn continuation_signature( &self, entity_path: &'static str, ) -> ContinuationSignature
Compute the continuation signature for this explain plan.
Included fields:
- entity path
- mode (load/delete)
- access path
- normalized predicate
- canonical order-by (including implicit PK tie-break)
- distinct flag
- grouped shape (group keys, aggregate terminals, grouped limits)
- projection identity section (semantic projection hash when available)
Excluded fields:
- pagination window (
limit,offset) - delete limits
- cursor boundary/token state
Trait Implementations§
Source§impl Clone for ExplainPlan
impl Clone for ExplainPlan
Source§fn clone(&self) -> ExplainPlan
fn clone(&self) -> ExplainPlan
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 moreSource§impl Debug for ExplainPlan
impl Debug for ExplainPlan
Source§impl PartialEq for ExplainPlan
impl PartialEq for ExplainPlan
impl Eq for ExplainPlan
impl StructuralPartialEq for ExplainPlan
Auto Trait Implementations§
impl Freeze for ExplainPlan
impl RefUnwindSafe for ExplainPlan
impl Send for ExplainPlan
impl Sync for ExplainPlan
impl Unpin for ExplainPlan
impl UnsafeUnpin for ExplainPlan
impl UnwindSafe for ExplainPlan
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