Struct Update
pub struct Update {
pub target: UpdateTarget,
pub assignments: Assignments,
pub filter: Filter,
pub condition: Condition,
pub returning: Option<Returning>,
}Fields§
§target: UpdateTargetWhat to update
assignments: AssignmentsAssignments
filter: FilterWhich entries to update
condition: ConditionA condition that must be satisfied in order for the update to apply.
returning: Option<Returning>Optionally return data from the update
Implementations§
Trait Implementations§
§impl<'a, T> IntoExprTarget<'a, T> for &'a Updatewhere
T: Resolve,
impl<'a, T> IntoExprTarget<'a, T> for &'a Updatewhere
T: Resolve,
fn into_expr_target(self, schema: &'a T) -> ExprTarget<'a>
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 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