#[non_exhaustive]pub enum Keyword {
Show 67 variants
Acyclic,
All,
AllShortestPaths,
And,
Any,
As,
Asc,
Ascending,
By,
Call,
Case,
Collect,
Contains,
Count,
Create,
Delete,
Desc,
Descending,
Detach,
Distinct,
Else,
End,
Ends,
Exists,
False,
Group,
Groups,
In,
Inf,
Infinity,
Is,
Limit,
Match,
Merge,
Nan,
None,
Not,
Null,
Offset,
On,
Optional,
Or,
Order,
Path,
Paths,
Reduce,
Remove,
Return,
Set,
Shortest,
ShortestPath,
Simple,
Single,
Skip,
Starts,
Then,
Trail,
Trim,
True,
Union,
Unwind,
Walk,
When,
Where,
With,
Xor,
Yield,
}Expand description
A word recognized specially by this crate’s lexer.
This contains the openCypher 2024.3 keyword spellings plus the documented path-mode and subquery-expression extensions consumed by the grammar. The parser decides whether a keyword can act as a symbolic name at a particular location.
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.
Acyclic
All
AllShortestPaths
And
Any
As
Asc
Ascending
By
Call
Case
Collect
Contains
Count
Create
Delete
Desc
Descending
Detach
Distinct
Else
End
Ends
Exists
False
Group
Groups
In
Inf
Infinity
Is
Limit
Match
Merge
Nan
None
Not
Null
Offset
On
Optional
Or
Order
Path
Paths
Reduce
Remove
Return
Set
Shortest
ShortestPath
Simple
Single
Skip
Starts
Then
Trail
Trim
True
Union
Unwind
Walk
When
Where
With
Xor
Yield
Implementations§
Trait Implementations§
impl Copy for Keyword
impl Eq for Keyword
Source§impl Ord for Keyword
impl Ord for Keyword
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Keyword
impl PartialOrd for Keyword
impl StructuralPartialEq for Keyword
Auto Trait Implementations§
impl Freeze for Keyword
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnsafeUnpin for Keyword
impl UnwindSafe for Keyword
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