pub struct UpdateStatementBuilder { /* private fields */ }
Expand description
Builder for UpdateStatement
.
Implementations§
Source§impl 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§
Source§impl Clone for UpdateStatementBuilder
impl Clone for UpdateStatementBuilder
Source§fn clone(&self) -> UpdateStatementBuilder
fn clone(&self) -> UpdateStatementBuilder
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 moreAuto Trait Implementations§
impl Freeze for UpdateStatementBuilder
impl RefUnwindSafe for UpdateStatementBuilder
impl Send for UpdateStatementBuilder
impl Sync for UpdateStatementBuilder
impl Unpin for UpdateStatementBuilder
impl UnwindSafe for UpdateStatementBuilder
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