pub enum ModificationStatement {
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
}Variants
Insert(InsertStatement)
Update(UpdateStatement)
Delete(DeleteStatement)
Trait Implementations
sourceimpl Clone for ModificationStatement
impl Clone for ModificationStatement
sourcefn clone(&self) -> ModificationStatement
fn clone(&self) -> ModificationStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for ModificationStatement
impl<'a> CustomToTokens<'a> for ModificationStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for ModificationStatement
impl Debug for ModificationStatement
sourceimpl Display for ModificationStatement
impl Display for ModificationStatement
sourceimpl From<DeleteStatement> for ModificationStatement
impl From<DeleteStatement> for ModificationStatement
sourcefn from(original: DeleteStatement) -> ModificationStatement
fn from(original: DeleteStatement) -> ModificationStatement
Converts to this type from the input type.
sourceimpl From<InsertStatement> for ModificationStatement
impl From<InsertStatement> for ModificationStatement
sourcefn from(original: InsertStatement) -> ModificationStatement
fn from(original: InsertStatement) -> ModificationStatement
Converts to this type from the input type.
sourceimpl From<UpdateStatement> for ModificationStatement
impl From<UpdateStatement> for ModificationStatement
sourcefn from(original: UpdateStatement) -> ModificationStatement
fn from(original: UpdateStatement) -> ModificationStatement
Converts to this type from the input type.
sourceimpl FromStr for ModificationStatement
impl FromStr for ModificationStatement
sourceimpl Into<DataManipulationStatement> for ModificationStatement
impl Into<DataManipulationStatement> for ModificationStatement
sourcefn into(self) -> DataManipulationStatement
fn into(self) -> DataManipulationStatement
Converts this type into the (usually inferred) input type.
sourceimpl Parse for ModificationStatement
impl Parse for ModificationStatement
type Output = ModificationStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<ModificationStatement> for ModificationStatement
impl PartialEq<ModificationStatement> for ModificationStatement
sourcefn eq(&self, other: &ModificationStatement) -> bool
fn eq(&self, other: &ModificationStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ModificationStatement) -> bool
fn ne(&self, other: &ModificationStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for ModificationStatement
impl ToTokens for ModificationStatement
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
impl Eq for ModificationStatement
impl StructuralEq for ModificationStatement
impl StructuralPartialEq for ModificationStatement
Auto Trait Implementations
impl RefUnwindSafe for ModificationStatement
impl Send for ModificationStatement
impl Sync for ModificationStatement
impl Unpin for ModificationStatement
impl UnwindSafe for ModificationStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more