pub enum ExplainFormat {
Text,
Xml,
Json,
Yaml,
}Expand description
The SQL explain format forms represented by the AST.
Variants§
Text
TEXT — human-readable plan output (the default).
Xml
XML plan output.
Json
JSON plan output.
Yaml
YAML plan output.
Trait Implementations§
Source§impl Clone for ExplainFormat
impl Clone for ExplainFormat
Source§fn clone(&self) -> ExplainFormat
fn clone(&self) -> ExplainFormat
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 moreimpl Copy for ExplainFormat
Source§impl Debug for ExplainFormat
impl Debug for ExplainFormat
Source§impl<'de> Deserialize<'de> for ExplainFormat
impl<'de> Deserialize<'de> for ExplainFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExplainFormat
Source§impl Hash for ExplainFormat
impl Hash for ExplainFormat
Source§impl PartialEq for ExplainFormat
impl PartialEq for ExplainFormat
Source§impl Render for ExplainFormat
impl Render for ExplainFormat
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for ExplainFormat
impl Serialize for ExplainFormat
impl StructuralPartialEq for ExplainFormat
Auto Trait Implementations§
impl Freeze for ExplainFormat
impl RefUnwindSafe for ExplainFormat
impl Send for ExplainFormat
impl Sync for ExplainFormat
impl Unpin for ExplainFormat
impl UnsafeUnpin for ExplainFormat
impl UnwindSafe for ExplainFormat
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