pub struct QueryPlan {
pub query: String,
pub tree: PlanTree,
pub shape: PlanShape,
pub result_columns: Vec<String>,
}Expand description
Result of Database::explain.
Fields§
§query: StringThe exact query text the caller submitted.
tree: PlanTreeOperator tree, leaf-most first under each node.
shape: PlanShapeWhether running this plan would (potentially) mutate the graph.
result_columns: Vec<String>Result column names in projection order. Empty for plans without a top-level projection (e.g. plans that only mutate).
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§
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