pub enum ModificationStatement {
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
}
Variants§
Trait Implementations§
Source§impl Clone for ModificationStatement
impl Clone for ModificationStatement
Source§fn clone(&self) -> ModificationStatement
fn clone(&self) -> ModificationStatement
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 ModificationStatement
impl<'a> CustomToTokens<'a> for ModificationStatement
Source§impl Debug for ModificationStatement
impl Debug for ModificationStatement
Source§impl Display for ModificationStatement
impl Display for ModificationStatement
Source§impl From<DeleteStatement> for ModificationStatement
impl From<DeleteStatement> for ModificationStatement
Source§fn from(original: DeleteStatement) -> ModificationStatement
fn from(original: DeleteStatement) -> ModificationStatement
Converts to this type from the input type.
Source§impl From<InsertStatement> for ModificationStatement
impl From<InsertStatement> for ModificationStatement
Source§fn from(original: InsertStatement) -> ModificationStatement
fn from(original: InsertStatement) -> ModificationStatement
Converts to this type from the input type.
Source§impl From<UpdateStatement> for ModificationStatement
impl From<UpdateStatement> for ModificationStatement
Source§fn from(original: UpdateStatement) -> ModificationStatement
fn from(original: UpdateStatement) -> ModificationStatement
Converts to this type from the input type.
Source§impl FromStr for ModificationStatement
impl FromStr for ModificationStatement
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 ModificationStatement
impl Parse for ModificationStatement
type Output = ModificationStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for ModificationStatement
impl PartialEq for ModificationStatement
Source§impl ToTokens for ModificationStatement
impl ToTokens for ModificationStatement
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,
impl Eq for ModificationStatement
impl StructuralPartialEq for ModificationStatement
Auto Trait Implementations§
impl Freeze for ModificationStatement
impl RefUnwindSafe for ModificationStatement
impl Send for ModificationStatement
impl Sync for ModificationStatement
impl Unpin for ModificationStatement
impl UnwindSafe for ModificationStatement
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