pub enum PutOutcome {
Inserted,
Updated,
Upserted,
Deduped,
}Expand description
Outcome of writing a single node or edge.
Variants§
Inserted
The element did not exist before and was created.
Updated
An element with the same identity existed and was overwritten or merged.
Upserted
The element was written by an upsert and the backend cannot tell whether it was an insert or an update.
Deduped
The element was dropped by a dedupe policy and nothing was written.
Implementations§
Trait Implementations§
Source§impl Clone for PutOutcome
impl Clone for PutOutcome
Source§fn clone(&self) -> PutOutcome
fn clone(&self) -> PutOutcome
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 PutOutcome
Source§impl Debug for PutOutcome
impl Debug for PutOutcome
Source§impl<'de> Deserialize<'de> for PutOutcome
impl<'de> Deserialize<'de> for PutOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PutOutcome
Source§impl PartialEq for PutOutcome
impl PartialEq for PutOutcome
Source§fn eq(&self, other: &PutOutcome) -> bool
fn eq(&self, other: &PutOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PutOutcome
impl Serialize for PutOutcome
impl StructuralPartialEq for PutOutcome
Auto Trait Implementations§
impl Freeze for PutOutcome
impl RefUnwindSafe for PutOutcome
impl Send for PutOutcome
impl Sync for PutOutcome
impl Unpin for PutOutcome
impl UnsafeUnpin for PutOutcome
impl UnwindSafe for PutOutcome
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.