pub struct UpdateStatement {
pub schema: Option<String>,
pub table: String,
pub alias: Option<String>,
pub assignments: Vec<UpdateAssignment>,
pub from: Option<TableRef>,
pub where_clause: Option<Expr>,
}Expand description
An UPDATE statement.
Fields§
§schema: Option<String>Schema name.
table: StringTable name.
alias: Option<String>Alias.
assignments: Vec<UpdateAssignment>SET assignments.
from: Option<TableRef>FROM clause (for joins in UPDATE).
where_clause: Option<Expr>WHERE clause.
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 Display for UpdateStatement
impl Display 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