pub struct UpdateStatement {
pub table_name: String,
pub where_clause: WhereClause,
pub set_assignments: Vec<SetAssignment>,
pub remove_attributes: Vec<String>,
}Expand description
UPDATE statement
Fields§
§table_name: StringTable name
where_clause: WhereClauseWHERE clause (must contain pk, optional sk)
set_assignments: Vec<SetAssignment>SET assignments
remove_attributes: Vec<String>REMOVE attributes
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateStatement
impl Debug for UpdateStatement
Source§impl PartialEq for UpdateStatement
impl PartialEq 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