pub struct UpdateStatement {
pub table: TableRef,
pub assignments: Vec<(String, Expr)>,
pub from: Option<FromClause>,
pub where_clause: Option<Expr>,
pub returning: Vec<SelectItem>,
}Expand description
An UPDATE statement.
Fields§
§table: TableRef§assignments: Vec<(String, Expr)>§from: Option<FromClause>§where_clause: Option<Expr>§returning: Vec<SelectItem>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<'de> Deserialize<'de> for UpdateStatement
impl<'de> Deserialize<'de> for UpdateStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateStatement
impl PartialEq for UpdateStatement
Source§impl Serialize for UpdateStatement
impl Serialize 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 UnsafeUnpin 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