pub enum DataManipulationStatement {
Select(SelectStatement),
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
Batch(BatchStatement),
}
Variants§
Select(SelectStatement)
Insert(InsertStatement)
Update(UpdateStatement)
Delete(DeleteStatement)
Batch(BatchStatement)
Trait Implementations§
Source§impl Clone for DataManipulationStatement
impl Clone for DataManipulationStatement
Source§fn clone(&self) -> DataManipulationStatement
fn clone(&self) -> DataManipulationStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for DataManipulationStatement
impl<'a> CustomToTokens<'a> for DataManipulationStatement
Source§impl Debug for DataManipulationStatement
impl Debug for DataManipulationStatement
Source§impl Display for DataManipulationStatement
impl Display for DataManipulationStatement
Source§impl From<BatchStatement> for DataManipulationStatement
impl From<BatchStatement> for DataManipulationStatement
Source§fn from(original: BatchStatement) -> DataManipulationStatement
fn from(original: BatchStatement) -> DataManipulationStatement
Converts to this type from the input type.
Source§impl From<DataManipulationStatement> for Statement
impl From<DataManipulationStatement> for Statement
Source§fn from(original: DataManipulationStatement) -> Statement
fn from(original: DataManipulationStatement) -> Statement
Converts to this type from the input type.
Source§impl From<DeleteStatement> for DataManipulationStatement
impl From<DeleteStatement> for DataManipulationStatement
Source§fn from(original: DeleteStatement) -> DataManipulationStatement
fn from(original: DeleteStatement) -> DataManipulationStatement
Converts to this type from the input type.
Source§impl From<InsertStatement> for DataManipulationStatement
impl From<InsertStatement> for DataManipulationStatement
Source§fn from(original: InsertStatement) -> DataManipulationStatement
fn from(original: InsertStatement) -> DataManipulationStatement
Converts to this type from the input type.
Source§impl From<SelectStatement> for DataManipulationStatement
impl From<SelectStatement> for DataManipulationStatement
Source§fn from(original: SelectStatement) -> DataManipulationStatement
fn from(original: SelectStatement) -> DataManipulationStatement
Converts to this type from the input type.
Source§impl From<UpdateStatement> for DataManipulationStatement
impl From<UpdateStatement> for DataManipulationStatement
Source§fn from(original: UpdateStatement) -> DataManipulationStatement
fn from(original: UpdateStatement) -> DataManipulationStatement
Converts to this type from the input type.
Source§impl FromStr for DataManipulationStatement
impl FromStr for DataManipulationStatement
Source§impl Into<DataManipulationStatement> for ModificationStatement
impl Into<DataManipulationStatement> for ModificationStatement
Source§fn into(self) -> DataManipulationStatement
fn into(self) -> DataManipulationStatement
Converts this type into the (usually inferred) input type.
Source§impl Parse for DataManipulationStatement
impl Parse for DataManipulationStatement
type Output = DataManipulationStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for DataManipulationStatement
impl PartialEq for DataManipulationStatement
Source§fn eq(&self, other: &DataManipulationStatement) -> bool
fn eq(&self, other: &DataManipulationStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for DataManipulationStatement
impl ToTokens for DataManipulationStatement
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Source§impl TryFrom<Statement> for DataManipulationStatement
impl TryFrom<Statement> for DataManipulationStatement
impl Eq for DataManipulationStatement
impl StructuralPartialEq for DataManipulationStatement
Auto Trait Implementations§
impl Freeze for DataManipulationStatement
impl RefUnwindSafe for DataManipulationStatement
impl Send for DataManipulationStatement
impl Sync for DataManipulationStatement
impl Unpin for DataManipulationStatement
impl UnwindSafe for DataManipulationStatement
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