Enum googapis::google::firestore::v1beta1::structured_query::field_filter::Operator [−][src]
#[repr(i32)]
pub enum Operator {
Unspecified,
LessThan,
LessThanOrEqual,
GreaterThan,
GreaterThanOrEqual,
Equal,
NotEqual,
ArrayContains,
In,
ArrayContainsAny,
NotIn,
}
Expand description
A field filter operator.
Variants
Unspecified. This value must not be used.
The given field
is less than the given value
.
Requires:
- That
field
come first inorder_by
.
The given field
is less than or equal to the given value
.
Requires:
- That
field
come first inorder_by
.
The given field
is greater than the given value
.
Requires:
- That
field
come first inorder_by
.
The given field
is greater than or equal to the given value
.
Requires:
- That
field
come first inorder_by
.
The given field
is equal to the given value
.
The given field
is not equal to the given value
.
Requires:
- No other
NOT_EQUAL
,NOT_IN
,IS_NOT_NULL
, orIS_NOT_NAN
. - That
field
comes first in theorder_by
.
The given field
is an array that contains the given value
.
The given field
is equal to at least one value in the given array.
Requires:
- That
value
is a non-emptyArrayValue
with at most 10 values. - No other
IN
orARRAY_CONTAINS_ANY
orNOT_IN
.
The given field
is an array that contains any of the values in the
given array.
Requires:
- That
value
is a non-emptyArrayValue
with at most 10 values. - No other
IN
orARRAY_CONTAINS_ANY
orNOT_IN
.
The value of the field
is not in the given array.
Requires:
- That
value
is a non-emptyArrayValue
with at most 10 values. - No other
IN
,ARRAY_CONTAINS_ANY
,NOT_IN
,NOT_EQUAL
,IS_NOT_NULL
, orIS_NOT_NAN
. - That
field
comes first in theorder_by
.
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Operator
impl UnwindSafe for Operator
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more