Struct scylladb_parse::InsertStatement 
source · [−]pub struct InsertStatement {
    pub table: KeyspaceQualifiedName,
    pub kind: InsertKind,
    pub if_not_exists: bool,
    pub using: Option<Vec<UpdateParameter>>,
}Fields
table: KeyspaceQualifiedNamekind: InsertKindif_not_exists: boolusing: Option<Vec<UpdateParameter>>Trait Implementations
sourceimpl Clone for InsertStatement
 
impl Clone for InsertStatement
sourcefn clone(&self) -> InsertStatement
 
fn clone(&self) -> InsertStatement
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 InsertStatement
 
impl<'a> CustomToTokens<'a> for InsertStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for InsertStatement
 
impl Debug for InsertStatement
sourceimpl Display for InsertStatement
 
impl Display for InsertStatement
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<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<InsertStatement> for Statement
 
impl From<InsertStatement> for Statement
sourcefn from(v: InsertStatement) -> Self
 
fn from(v: InsertStatement) -> Self
Converts to this type from the input type.
sourceimpl FromStr for InsertStatement
 
impl FromStr for InsertStatement
sourceimpl KeyspaceExt for InsertStatement
 
impl KeyspaceExt for InsertStatement
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 InsertStatement
 
impl Parse for InsertStatement
type Output = InsertStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<InsertStatement> for InsertStatement
 
impl PartialEq<InsertStatement> for InsertStatement
sourcefn eq(&self, other: &InsertStatement) -> bool
 
fn eq(&self, other: &InsertStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &InsertStatement) -> bool
 
fn ne(&self, other: &InsertStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for InsertStatement
 
impl ToTokens for InsertStatement
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 TryInto<InsertStatement> for Statement
 
impl TryInto<InsertStatement> for Statement
impl Eq for InsertStatement
impl StructuralEq for InsertStatement
impl StructuralPartialEq for InsertStatement
Auto Trait Implementations
impl RefUnwindSafe for InsertStatement
impl Send for InsertStatement
impl Sync for InsertStatement
impl Unpin for InsertStatement
impl UnwindSafe for InsertStatement
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