pub struct ExplainStmt {
pub statement: Box<Statement>,
pub format: ExplainFormat,
pub analyze: bool,
pub query_plan: bool,
}Expand description
EXPLAIN statement
Shows the query execution plan for a SELECT, INSERT, UPDATE, or DELETE statement.
Fields§
§statement: Box<Statement>The statement to explain
format: ExplainFormatOutput format
analyze: boolWhether to analyze the query (run it and show actual timing)
query_plan: boolWhether this is EXPLAIN QUERY PLAN (SQLite-style execution plan)
Trait Implementations§
Source§impl Clone for ExplainStmt
impl Clone for ExplainStmt
Source§fn clone(&self) -> ExplainStmt
fn clone(&self) -> ExplainStmt
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 ExplainStmt
impl Debug for ExplainStmt
Source§impl PartialEq for ExplainStmt
impl PartialEq for ExplainStmt
impl StructuralPartialEq for ExplainStmt
Auto Trait Implementations§
impl Freeze for ExplainStmt
impl RefUnwindSafe for ExplainStmt
impl Send for ExplainStmt
impl Sync for ExplainStmt
impl Unpin for ExplainStmt
impl UnwindSafe for ExplainStmt
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