pub enum MergeSetItem {
Property(SetPropItem),
Map(SetMapItem),
AddLabels {
target: VarId,
labels: Vec<TypeId>,
},
}Expand description
One branch-specific action attached to a MERGE clause (#959).
Variants§
Property(SetPropItem)
Assign one property from a runtime expression.
Map(SetMapItem)
Merge or replace a complete property map.
AddLabels
Add labels to the matched or newly-created node.
Trait Implementations§
Source§impl Clone for MergeSetItem
impl Clone for MergeSetItem
Source§fn clone(&self) -> MergeSetItem
fn clone(&self) -> MergeSetItem
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 MergeSetItem
impl Debug for MergeSetItem
Source§impl<'de> Deserialize<'de> for MergeSetItem
impl<'de> Deserialize<'de> for MergeSetItem
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 PartialEq for MergeSetItem
impl PartialEq for MergeSetItem
Source§impl Serialize for MergeSetItem
impl Serialize for MergeSetItem
impl StructuralPartialEq for MergeSetItem
Auto Trait Implementations§
impl Freeze for MergeSetItem
impl RefUnwindSafe for MergeSetItem
impl Send for MergeSetItem
impl Sync for MergeSetItem
impl Unpin for MergeSetItem
impl UnsafeUnpin for MergeSetItem
impl UnwindSafe for MergeSetItem
Blanket Implementations§
impl<T> Allocation for T
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