pub enum ReturningVariant {
AllOld,
ModifiedOld,
AllNew,
ModifiedNew,
}Expand description
A PartiQL RETURNING clause variant: the cross product of ALL/MODIFIED
and OLD/NEW, as in RETURNING MODIFIED NEW *.
All four are valid on UPDATE; only AllOld is valid on DELETE (the
executor rejects the others). The parser recognises any well-formed variant
and defers semantic validity to the executor, so the rejection can carry
DynamoDB’s exact ValidationException message.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ReturningVariant
impl Clone for ReturningVariant
Source§fn clone(&self) -> ReturningVariant
fn clone(&self) -> ReturningVariant
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReturningVariant
Source§impl Debug for ReturningVariant
impl Debug for ReturningVariant
impl Eq for ReturningVariant
Source§impl PartialEq for ReturningVariant
impl PartialEq for ReturningVariant
impl StructuralPartialEq for ReturningVariant
Auto Trait Implementations§
impl Freeze for ReturningVariant
impl RefUnwindSafe for ReturningVariant
impl Send for ReturningVariant
impl Sync for ReturningVariant
impl Unpin for ReturningVariant
impl UnsafeUnpin for ReturningVariant
impl UnwindSafe for ReturningVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.