pub enum Op<'a> {
CreateEntity(CreateEntity<'a>),
UpdateEntity(UpdateEntity<'a>),
DeleteEntity(DeleteEntity),
RestoreEntity(RestoreEntity),
CreateRelation(CreateRelation<'a>),
UpdateRelation(UpdateRelation<'a>),
DeleteRelation(DeleteRelation),
RestoreRelation(RestoreRelation),
CreateValueRef(CreateValueRef),
}Expand description
An atomic operation that modifies graph state (spec Section 3.1).
Variants§
CreateEntity(CreateEntity<'a>)
UpdateEntity(UpdateEntity<'a>)
DeleteEntity(DeleteEntity)
RestoreEntity(RestoreEntity)
CreateRelation(CreateRelation<'a>)
UpdateRelation(UpdateRelation<'a>)
DeleteRelation(DeleteRelation)
RestoreRelation(RestoreRelation)
CreateValueRef(CreateValueRef)
Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for Op<'a>
Auto Trait Implementations§
impl<'a> Freeze for Op<'a>
impl<'a> RefUnwindSafe for Op<'a>
impl<'a> Send for Op<'a>
impl<'a> Sync for Op<'a>
impl<'a> Unpin for Op<'a>
impl<'a> UnwindSafe for Op<'a>
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