pub struct ExplainStatement {
pub statement: Box<Statement>,
pub explain_type: ExplainType,
}Expand description
EXPLAIN statement wrapper.
Fields§
§statement: Box<Statement>The statement being explained.
explain_type: ExplainTypeThe type of explain output.
Implementations§
Source§impl ExplainStatement
impl ExplainStatement
Sourcepub fn new(statement: Statement, explain_type: ExplainType) -> Self
pub fn new(statement: Statement, explain_type: ExplainType) -> Self
Create a new EXPLAIN statement wrapping the given inner statement.
Trait Implementations§
Source§impl Clone for ExplainStatement
impl Clone for ExplainStatement
Source§fn clone(&self) -> ExplainStatement
fn clone(&self) -> ExplainStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExplainStatement
impl Debug for ExplainStatement
Source§impl PartialEq for ExplainStatement
impl PartialEq for ExplainStatement
impl StructuralPartialEq for ExplainStatement
Auto Trait Implementations§
impl Freeze for ExplainStatement
impl RefUnwindSafe for ExplainStatement
impl Send for ExplainStatement
impl Sync for ExplainStatement
impl Unpin for ExplainStatement
impl UnsafeUnpin for ExplainStatement
impl UnwindSafe for ExplainStatement
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