pub struct Update {
pub table: ObjectName,
pub alias: Option<TableAlias>,
pub assignments: Vec<Assignment>,
pub from: Vec<RelNamed>,
pub selection: Option<Expr>,
pub returning: Option<Vec<SelectItem>>,
pub limit: Option<Expr>,
}Fields§
§table: ObjectNameTABLE
alias: Option<TableAlias>AS
assignments: Vec<Assignment>Column assignments
from: Vec<RelNamed>Relations which provide value to be set
selection: Option<Expr>WHERE
returning: Option<Vec<SelectItem>>RETURNING
limit: Option<Expr>LIMIT
Trait Implementations§
Source§impl Ord for Update
impl Ord for Update
Source§impl PartialOrd for Update
impl PartialOrd for Update
impl Eq for Update
impl StructuralPartialEq for Update
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnsafeUnpin for Update
impl UnwindSafe for Update
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