pub struct UpdatePlan {
pub into: QualifiedIdentifier,
pub columns: Vec<CoercibleField>,
pub body: Payload,
pub where_: Vec<CoercibleLogicTree>,
pub returning: Vec<CoercibleSelectField>,
pub apply_defaults: bool,
}Expand description
UPDATE plan details
Fields§
§into: QualifiedIdentifierTarget table
columns: Vec<CoercibleField>Typed columns to update
body: PayloadRequest body
where_: Vec<CoercibleLogicTree>WHERE clause for filtering rows to update
returning: Vec<CoercibleSelectField>RETURNING columns
apply_defaults: boolWhether to apply column defaults
Trait Implementations§
Source§impl Clone for UpdatePlan
impl Clone for UpdatePlan
Source§fn clone(&self) -> UpdatePlan
fn clone(&self) -> UpdatePlan
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 moreAuto Trait Implementations§
impl !Freeze for UpdatePlan
impl RefUnwindSafe for UpdatePlan
impl Send for UpdatePlan
impl Sync for UpdatePlan
impl Unpin for UpdatePlan
impl UnsafeUnpin for UpdatePlan
impl UnwindSafe for UpdatePlan
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