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
sourceimpl Clone for DataManipulationStatement
impl Clone for DataManipulationStatement
sourcefn clone(&self) -> DataManipulationStatement
fn clone(&self) -> DataManipulationStatement
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 DataManipulationStatement
impl<'a> CustomToTokens<'a> for DataManipulationStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for DataManipulationStatement
impl Debug for DataManipulationStatement
sourceimpl Display for DataManipulationStatement
impl Display for DataManipulationStatement
sourceimpl From<BatchStatement> for DataManipulationStatement
impl From<BatchStatement> for DataManipulationStatement
sourcefn from(original: BatchStatement) -> DataManipulationStatement
fn from(original: BatchStatement) -> DataManipulationStatement
Converts to this type from the input type.
sourceimpl From<DataManipulationStatement> for Statement
impl From<DataManipulationStatement> for Statement
sourcefn from(original: DataManipulationStatement) -> Statement
fn from(original: DataManipulationStatement) -> Statement
Converts to this type from the input type.
sourceimpl From<DeleteStatement> for DataManipulationStatement
impl From<DeleteStatement> for DataManipulationStatement
sourcefn from(original: DeleteStatement) -> DataManipulationStatement
fn from(original: DeleteStatement) -> DataManipulationStatement
Converts to this type from the input type.
sourceimpl From<InsertStatement> for DataManipulationStatement
impl From<InsertStatement> for DataManipulationStatement
sourcefn from(original: InsertStatement) -> DataManipulationStatement
fn from(original: InsertStatement) -> DataManipulationStatement
Converts to this type from the input type.
sourceimpl From<SelectStatement> for DataManipulationStatement
impl From<SelectStatement> for DataManipulationStatement
sourcefn from(original: SelectStatement) -> DataManipulationStatement
fn from(original: SelectStatement) -> DataManipulationStatement
Converts to this type from the input type.
sourceimpl From<UpdateStatement> for DataManipulationStatement
impl From<UpdateStatement> for DataManipulationStatement
sourcefn from(original: UpdateStatement) -> DataManipulationStatement
fn from(original: UpdateStatement) -> DataManipulationStatement
Converts to this type from the input type.
sourceimpl FromStr for DataManipulationStatement
impl FromStr for DataManipulationStatement
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 KeyspaceExt for DataManipulationStatement
impl KeyspaceExt for DataManipulationStatement
fn get_keyspace(&self) -> Option<String>
fn set_keyspace(&mut self, keyspace: impl Into<Name>)
fn with_keyspace(self, keyspace: impl Into<Name>) -> Self where
Self: Sized,
sourceimpl Parse for DataManipulationStatement
impl Parse for DataManipulationStatement
type Output = DataManipulationStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<DataManipulationStatement> for DataManipulationStatement
impl PartialEq<DataManipulationStatement> for DataManipulationStatement
sourcefn eq(&self, other: &DataManipulationStatement) -> bool
fn eq(&self, other: &DataManipulationStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DataManipulationStatement) -> bool
fn ne(&self, other: &DataManipulationStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for DataManipulationStatement
impl ToTokens for DataManipulationStatement
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
sourceimpl TryFrom<Statement> for DataManipulationStatement
impl TryFrom<Statement> for DataManipulationStatement
impl Eq for DataManipulationStatement
impl StructuralEq for DataManipulationStatement
impl StructuralPartialEq for DataManipulationStatement
Auto Trait Implementations
impl RefUnwindSafe for DataManipulationStatement
impl Send for DataManipulationStatement
impl Sync for DataManipulationStatement
impl Unpin for DataManipulationStatement
impl UnwindSafe for DataManipulationStatement
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