pub enum Rule {
Show 70 variants
EOI,
WHITESPACE,
COMMENT,
LINE_COMMENT,
BLOCK_COMMENT,
query_file,
query_decl,
query_annotation,
description_annotation,
instruction_annotation,
query_body,
mutation_body,
read_query_body,
mutation_stmt,
insert_stmt,
update_stmt,
delete_stmt,
mutation_assignment,
mutation_predicate,
param_list,
param,
type_ref,
list_type,
vector_type,
base_type,
match_clause,
clause,
text_search_clause,
binding,
prop_match_list,
prop_match,
match_value,
traversal,
traversal_bounds,
filter,
negation,
return_clause,
projection,
order_clause,
ordering,
nearest_ordering,
order_dir,
limit_clause,
expr,
now_call,
search_call,
fuzzy_call,
match_text_call,
bm25_call,
rank_expr,
rrf_call,
prop_access,
agg_call,
agg_func,
comp_op,
filter_op,
variable,
ident_chars,
edge_ident,
type_name,
ident,
literal,
date_lit,
datetime_lit,
list_lit,
string_lit,
string_char,
float_lit,
integer,
bool_lit,
}Variants§
EOI
End-of-input
WHITESPACE
COMMENT
LINE_COMMENT
BLOCK_COMMENT
query_file
query_decl
query_annotation
description_annotation
instruction_annotation
query_body
mutation_body
read_query_body
mutation_stmt
insert_stmt
update_stmt
delete_stmt
mutation_assignment
mutation_predicate
param_list
param
type_ref
list_type
vector_type
base_type
match_clause
clause
text_search_clause
binding
prop_match_list
prop_match
match_value
traversal
traversal_bounds
filter
negation
return_clause
projection
order_clause
ordering
nearest_ordering
order_dir
limit_clause
expr
now_call
search_call
fuzzy_call
match_text_call
bm25_call
rank_expr
rrf_call
prop_access
agg_call
agg_func
comp_op
filter_op
variable
ident_chars
edge_ident
type_name
ident
literal
date_lit
datetime_lit
list_lit
string_lit
string_char
float_lit
integer
bool_lit
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
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 Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnsafeUnpin for Rule
impl UnwindSafe for Rule
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