#[non_exhaustive]pub enum ExplainableStatement {
Select(SelectStatement),
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
}Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Select(SelectStatement)
Insert(InsertStatement)
Update(UpdateStatement)
Delete(DeleteStatement)
Trait Implementationsยง
Sourceยงimpl Clone for ExplainableStatement
impl Clone for ExplainableStatement
Sourceยงfn clone(&self) -> ExplainableStatement
fn clone(&self) -> ExplainableStatement
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 ExplainableStatement
impl Debug for ExplainableStatement
Sourceยงimpl From<DeleteStatement> for ExplainableStatement
impl From<DeleteStatement> for ExplainableStatement
Sourceยงfn from(value: DeleteStatement) -> Self
fn from(value: DeleteStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl From<InsertStatement> for ExplainableStatement
impl From<InsertStatement> for ExplainableStatement
Sourceยงfn from(value: InsertStatement) -> Self
fn from(value: InsertStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl From<QueryStatement> for ExplainableStatement
impl From<QueryStatement> for ExplainableStatement
Sourceยงfn from(value: QueryStatement) -> Self
fn from(value: QueryStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl From<SelectStatement> for ExplainableStatement
impl From<SelectStatement> for ExplainableStatement
Sourceยงfn from(value: SelectStatement) -> Self
fn from(value: SelectStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl From<UpdateStatement> for ExplainableStatement
impl From<UpdateStatement> for ExplainableStatement
Sourceยงfn from(value: UpdateStatement) -> Self
fn from(value: UpdateStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl PartialEq for ExplainableStatement
impl PartialEq for ExplainableStatement
Sourceยงfn eq(&self, other: &ExplainableStatement) -> bool
fn eq(&self, other: &ExplainableStatement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExplainableStatement
Auto Trait Implementationsยง
impl Freeze for ExplainableStatement
impl RefUnwindSafe for ExplainableStatement
impl Send for ExplainableStatement
impl Sync for ExplainableStatement
impl Unpin for ExplainableStatement
impl UnsafeUnpin for ExplainableStatement
impl UnwindSafe for ExplainableStatement
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