pub enum Rule {
Show 148 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,
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
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
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl Parser<Rule> for MongoDbParser
impl Parser<Rule> for MongoDbParser
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.