pub enum Rule {
Show 150 variants WHITESPACE, query, expression, clause_list, clause, text_clause, text_options, text_options_value, text_options_optional, expression_tree_clause, expression_tree_operator, expression_clause, expression_operator, expression_list, where_clause, leaf_clause, value, value_operator, list_operator, operator_expression_operator, operator_expression, operator_list, value_operator_type, list_operator_type, elemmatch_expression_operator_type, operator_expression_operator_type, operator, distance_operator, shape, geometry, geometry_point, geometry_type, geometry_coordinates, legacy_coordinates, legacy_shape, center_shape, box_shape, polygon_shape, where_operator, text_operator, search_operator, text_optional_operator, case_sensitive_operator, diacritic_sensitive_operator, leaf_value_list, not_asterist_or_zero, light_char, key, json, begin_array, begin_object, end_array, end_object, name_separator, value_separator, leaf_value, false_lit, true_lit, null, extended_json_value, ejson_objectid, hexdig24, ejson_minkey, ejson_maxkey, ejson_long, ejson_decimal, ejson_date, ejson_iso8601_date, ejson_numberlong_date, ejson_undefined, ejson_dbref, ejson_regex, ejson_binary, ejson_timestamp, object, member, array, array_number, number, number_positive, number_longitude, number_latitude, decimal_point, digit1_9, e, exp, frac, int, minus, plus, zero, string, char, escape, quotation_mark, unescaped, date_century, date_decade, date_subdecade, date_year, date_fullyear, date_month, date_wday, date_mday, date_yday, date_week, datepart_fullyear, datepart_ptyear, datepart_wkyear, dateopt_century, dateopt_fullyear, dateopt_year, dateopt_month, dateopt_week, datespec_full, datespec_year, datespec_month, datespec_mday, datespec_week, datespec_wday, datespec_yday, date, time_hour, time_minute, time_second, time_fraction, time_numoffset, time_zone, timeopt_hour, timeopt_minute, timespec_hour, timespec_minute, timespec_second, timespec_base, time, iso_date_time, dur_second, dur_minute, dur_hour, dur_time, dur_day, dur_week, dur_month, dur_year, dur_date, duration, period_explicit, period_start, period_end, period,
}

Variants

WHITESPACE

query

expression

clause_list

clause

text_clause

text_options

text_options_value

text_options_optional

expression_tree_clause

expression_tree_operator

expression_clause

expression_operator

expression_list

where_clause

leaf_clause

value

value_operator

list_operator

operator_expression_operator

operator_expression

operator_list

value_operator_type

list_operator_type

elemmatch_expression_operator_type

operator_expression_operator_type

operator

distance_operator

shape

geometry

geometry_point

geometry_type

geometry_coordinates

legacy_coordinates

legacy_shape

center_shape

box_shape

polygon_shape

where_operator

text_operator

search_operator

text_optional_operator

case_sensitive_operator

diacritic_sensitive_operator

leaf_value_list

not_asterist_or_zero

light_char

key

json

begin_array

begin_object

end_array

end_object

name_separator

value_separator

leaf_value

false_lit

true_lit

null

extended_json_value

ejson_objectid

hexdig24

ejson_minkey

ejson_maxkey

ejson_long

ejson_decimal

ejson_date

ejson_iso8601_date

ejson_numberlong_date

ejson_undefined

ejson_dbref

ejson_regex

ejson_binary

ejson_timestamp

object

member

array

array_number

number

number_positive

number_longitude

number_latitude

decimal_point

digit1_9

e

exp

frac

int

minus

plus

zero

string

char

escape

quotation_mark

unescaped

date_century

date_decade

date_subdecade

date_year

date_fullyear

date_month

date_wday

date_mday

date_yday

date_week

datepart_fullyear

datepart_ptyear

datepart_wkyear

dateopt_century

dateopt_fullyear

dateopt_year

dateopt_month

dateopt_week

datespec_full

datespec_year

datespec_month

datespec_mday

datespec_week

datespec_wday

datespec_yday

date

time_hour

time_minute

time_second

time_fraction

time_numoffset

time_zone

timeopt_hour

timeopt_minute

timespec_hour

timespec_minute

timespec_second

timespec_base

time

iso_date_time

dur_second

dur_minute

dur_hour

dur_time

dur_day

dur_week

dur_month

dur_year

dur_date

duration

period_explicit

period_start

period_end

period

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

Parses a &str starting from rule.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.