pub enum MutationMode {
Insert,
Replace,
Update,
}Expand description
MutationMode
Public write-mode contract for structural session mutations. This keeps insert, update, and replace under one API surface instead of freezing separate partial helpers with divergent semantics.
Variants§
Trait Implementations§
Source§impl Clone for MutationMode
impl Clone for MutationMode
Source§fn clone(&self) -> MutationMode
fn clone(&self) -> MutationMode
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 MutationMode
impl Debug for MutationMode
Source§impl PartialEq for MutationMode
impl PartialEq for MutationMode
Source§fn eq(&self, other: &MutationMode) -> bool
fn eq(&self, other: &MutationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MutationMode
impl Eq for MutationMode
impl StructuralPartialEq for MutationMode
Auto Trait Implementations§
impl Freeze for MutationMode
impl RefUnwindSafe for MutationMode
impl Send for MutationMode
impl Sync for MutationMode
impl Unpin for MutationMode
impl UnsafeUnpin for MutationMode
impl UnwindSafe for MutationMode
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