#[non_exhaustive]pub enum ClauseKind {
Show 20 variants
Use(UseClause),
Match(MatchClause),
Unwind(UnwindClause),
Let(LetClause),
Create(CreateClause),
Insert(InsertClause),
Merge(MergeClause),
Delete(DeleteClause),
Set(SetClause),
Remove(RemoveClause),
Foreach(ForeachClause),
LoadCsv(LoadCsvClause),
Call(CallClause),
With(WithClause),
Return(ReturnClause),
Select(ProjectionClause),
Next(ProjectionClause),
Filter(FilterClause),
Finish,
Error(ErrorNode),
}Expand description
Any clause in an openCypher query.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Use(UseClause)
Match(MatchClause)
Unwind(UnwindClause)
Let(LetClause)
Create(CreateClause)
Insert(InsertClause)
Merge(MergeClause)
Delete(DeleteClause)
Set(SetClause)
Remove(RemoveClause)
Foreach(ForeachClause)
LoadCsv(LoadCsvClause)
Call(CallClause)
With(WithClause)
Return(ReturnClause)
Select(ProjectionClause)
Next(ProjectionClause)
Filter(FilterClause)
Finish
Error(ErrorNode)
A placeholder emitted after synchronizing at a clause boundary.
Trait Implementations§
Source§impl Clone for ClauseKind
impl Clone for ClauseKind
Source§impl Debug for ClauseKind
impl Debug for ClauseKind
Source§impl<'de> Deserialize<'de> for ClauseKind
impl<'de> Deserialize<'de> for ClauseKind
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 ClauseKind
Source§impl Hash for ClauseKind
impl Hash for ClauseKind
Source§impl PartialEq for ClauseKind
impl PartialEq for ClauseKind
Source§impl Serialize for ClauseKind
impl Serialize for ClauseKind
impl StructuralPartialEq for ClauseKind
Auto Trait Implementations§
impl Freeze for ClauseKind
impl RefUnwindSafe for ClauseKind
impl Send for ClauseKind
impl Sync for ClauseKind
impl Unpin for ClauseKind
impl UnsafeUnpin for ClauseKind
impl UnwindSafe for ClauseKind
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