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: KeyspaceQualifiedName
§using: Option<Vec<UpdateParameter>>
§set_clause: Vec<Assignment>
§where_clause: WhereClause
§if_clause: Option<IfClause>
Trait Implementations§
Source§impl Clone for UpdateStatement
impl Clone for UpdateStatement
Source§fn clone(&self) -> UpdateStatement
fn clone(&self) -> UpdateStatement
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 UpdateStatement
impl<'a> CustomToTokens<'a> for UpdateStatement
Source§impl Debug for UpdateStatement
impl Debug for UpdateStatement
Source§impl Display for UpdateStatement
impl Display for UpdateStatement
Source§impl From<UpdateStatement> for DataManipulationStatement
impl From<UpdateStatement> for DataManipulationStatement
Source§fn from(original: UpdateStatement) -> DataManipulationStatement
fn from(original: UpdateStatement) -> DataManipulationStatement
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 From<UpdateStatement> for Statement
impl From<UpdateStatement> for Statement
Source§fn from(v: UpdateStatement) -> Self
fn from(v: UpdateStatement) -> Self
Converts to this type from the input type.
Source§impl FromStr for UpdateStatement
impl FromStr for UpdateStatement
Source§impl KeyspaceExt for UpdateStatement
impl KeyspaceExt for UpdateStatement
Source§impl Parse for UpdateStatement
impl Parse for UpdateStatement
type Output = UpdateStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for UpdateStatement
impl PartialEq for UpdateStatement
Source§impl ToTokens for UpdateStatement
impl ToTokens for UpdateStatement
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,
Source§impl TryInto<UpdateStatement> for Statement
impl TryInto<UpdateStatement> for Statement
Source§impl WhereExt for UpdateStatement
impl WhereExt for UpdateStatement
impl Eq for UpdateStatement
impl StructuralPartialEq for UpdateStatement
Auto Trait Implementations§
impl Freeze for UpdateStatement
impl RefUnwindSafe for UpdateStatement
impl Send for UpdateStatement
impl Sync for UpdateStatement
impl Unpin for UpdateStatement
impl UnwindSafe for UpdateStatement
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