pub enum GraphMutationPlanOp {
UpsertNode {
kind: GraphMutationPlanKind,
node: Node,
},
UpsertEdge {
kind: GraphMutationPlanKind,
edge: Edge,
},
DeleteNode(NodeId),
DeleteEdge {
from: NodeId,
label: Label,
to: NodeId,
},
}Variants§
Trait Implementations§
Source§impl Clone for GraphMutationPlanOp
impl Clone for GraphMutationPlanOp
Source§fn clone(&self) -> GraphMutationPlanOp
fn clone(&self) -> GraphMutationPlanOp
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 GraphMutationPlanOp
impl Debug for GraphMutationPlanOp
Source§impl<'de> Deserialize<'de> for GraphMutationPlanOp
impl<'de> Deserialize<'de> for GraphMutationPlanOp
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
Source§impl From<GraphMutationPlanOp> for GraphMutation
impl From<GraphMutationPlanOp> for GraphMutation
Source§fn from(operation: GraphMutationPlanOp) -> Self
fn from(operation: GraphMutationPlanOp) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GraphMutationPlanOp
impl PartialEq for GraphMutationPlanOp
Source§fn eq(&self, other: &GraphMutationPlanOp) -> bool
fn eq(&self, other: &GraphMutationPlanOp) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GraphMutationPlanOp
impl Serialize for GraphMutationPlanOp
impl StructuralPartialEq for GraphMutationPlanOp
Auto Trait Implementations§
impl Freeze for GraphMutationPlanOp
impl RefUnwindSafe for GraphMutationPlanOp
impl Send for GraphMutationPlanOp
impl Sync for GraphMutationPlanOp
impl Unpin for GraphMutationPlanOp
impl UnsafeUnpin for GraphMutationPlanOp
impl UnwindSafe for GraphMutationPlanOp
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