Struct scylladb_parse::UpdateStatementBuilder
source · [−]pub struct UpdateStatementBuilder { /* private fields */ }Expand description
Builder for UpdateStatement.
Implementations
sourceimpl UpdateStatementBuilder
impl UpdateStatementBuilder
pub fn table<VALUE: Into<KeyspaceQualifiedName>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn using(&mut self, value: Vec<UpdateParameter>) -> &mut Self
pub fn set_clause(&mut self, value: Vec<Assignment>) -> &mut Self
pub fn where_clause<VALUE: Into<WhereClause>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn if_clause<VALUE: Into<IfClause>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(&self) -> Result<UpdateStatement, UpdateStatementBuilderError>
pub fn build(&self) -> Result<UpdateStatement, UpdateStatementBuilderError>
Trait Implementations
sourceimpl Clone for UpdateStatementBuilder
impl Clone for UpdateStatementBuilder
sourcefn clone(&self) -> UpdateStatementBuilder
fn clone(&self) -> UpdateStatementBuilder
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
Auto Trait Implementations
impl RefUnwindSafe for UpdateStatementBuilder
impl Send for UpdateStatementBuilder
impl Sync for UpdateStatementBuilder
impl Unpin for UpdateStatementBuilder
impl UnwindSafe for UpdateStatementBuilder
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