#[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.
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) -> ExplainableStatement
fn from(value: DeleteStatement) -> ExplainableStatement
Converts to this type from the input type.
Source§impl From<InsertStatement> for ExplainableStatement
impl From<InsertStatement> for ExplainableStatement
Source§fn from(value: InsertStatement) -> ExplainableStatement
fn from(value: InsertStatement) -> ExplainableStatement
Converts to this type from the input type.
Source§impl From<QueryStatement> for ExplainableStatement
impl From<QueryStatement> for ExplainableStatement
Source§fn from(value: QueryStatement) -> ExplainableStatement
fn from(value: QueryStatement) -> ExplainableStatement
Converts to this type from the input type.
Source§impl From<SelectStatement> for ExplainableStatement
impl From<SelectStatement> for ExplainableStatement
Source§fn from(value: SelectStatement) -> ExplainableStatement
fn from(value: SelectStatement) -> ExplainableStatement
Converts to this type from the input type.
Source§impl From<UpdateStatement> for ExplainableStatement
impl From<UpdateStatement> for ExplainableStatement
Source§fn from(value: UpdateStatement) -> ExplainableStatement
fn from(value: UpdateStatement) -> ExplainableStatement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more