pub enum ReturnMode {
None,
Null,
Diff,
Before,
After,
Fields(Vec<Projection>),
}Expand description
A mutation’s RETURN clause.
Variants§
None
RETURN NONE — suppress the result.
Null
RETURN NULL.
Diff
RETURN DIFF — the JSON-patch delta of each row.
Before
RETURN BEFORE — the row as it was before the mutation.
After
RETURN AFTER — the row after the mutation (the default).
Fields(Vec<Projection>)
RETURN <fields> — an explicit projection list.
Trait Implementations§
Source§impl Clone for ReturnMode
impl Clone for ReturnMode
Source§fn clone(&self) -> ReturnMode
fn clone(&self) -> ReturnMode
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 moreSource§impl Debug for ReturnMode
impl Debug for ReturnMode
Source§impl PartialEq for ReturnMode
impl PartialEq for ReturnMode
impl StructuralPartialEq for ReturnMode
Auto Trait Implementations§
impl Freeze for ReturnMode
impl RefUnwindSafe for ReturnMode
impl Send for ReturnMode
impl Sync for ReturnMode
impl Unpin for ReturnMode
impl UnsafeUnpin for ReturnMode
impl UnwindSafe for ReturnMode
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