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