pub enum EdgeUpsertDisposition {
Created,
Updated,
Resurrected,
}Expand description
What an edge upsert did to the natural-key row.
Variants§
Created
No row with this natural key existed, so a new edge was inserted.
Updated
A live row existed and was replaced according to the upsert contract.
Resurrected
A tombstoned row existed and was restored by an explicit opt-in.
Implementations§
Trait Implementations§
Source§impl Clone for EdgeUpsertDisposition
impl Clone for EdgeUpsertDisposition
impl Copy for EdgeUpsertDisposition
Source§impl Debug for EdgeUpsertDisposition
impl Debug for EdgeUpsertDisposition
Source§impl<'de> Deserialize<'de> for EdgeUpsertDisposition
impl<'de> Deserialize<'de> for EdgeUpsertDisposition
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 EdgeUpsertDisposition
Source§impl PartialEq for EdgeUpsertDisposition
impl PartialEq for EdgeUpsertDisposition
Source§impl Serialize for EdgeUpsertDisposition
impl Serialize for EdgeUpsertDisposition
impl StructuralPartialEq for EdgeUpsertDisposition
Auto Trait Implementations§
impl Freeze for EdgeUpsertDisposition
impl RefUnwindSafe for EdgeUpsertDisposition
impl Send for EdgeUpsertDisposition
impl Sync for EdgeUpsertDisposition
impl Unpin for EdgeUpsertDisposition
impl UnsafeUnpin for EdgeUpsertDisposition
impl UnwindSafe for EdgeUpsertDisposition
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