pub enum FirestoreQueryFilterCompare {
LessThan(String, FirestoreValue),
LessThanOrEqual(String, FirestoreValue),
GreaterThan(String, FirestoreValue),
GreaterThanOrEqual(String, FirestoreValue),
Equal(String, FirestoreValue),
NotEqual(String, FirestoreValue),
ArrayContains(String, FirestoreValue),
In(String, FirestoreValue),
ArrayContainsAny(String, FirestoreValue),
NotIn(String, FirestoreValue),
}
Expand description
A field filter that compares a field to a value using a specific operator.
The first String
argument in each variant is the field path.
The FirestoreValue
is the value to compare against.
Variants§
LessThan(String, FirestoreValue)
Field is less than the value.
LessThanOrEqual(String, FirestoreValue)
Field is less than or equal to the value.
GreaterThan(String, FirestoreValue)
Field is greater than the value.
GreaterThanOrEqual(String, FirestoreValue)
Field is greater than or equal to the value.
Equal(String, FirestoreValue)
Field is equal to the value.
NotEqual(String, FirestoreValue)
Field is not equal to the value.
ArrayContains(String, FirestoreValue)
Field (which must be an array) contains the value.
In(String, FirestoreValue)
Field’s value is IN the given array value. The FirestoreValue
should be an array.
ArrayContainsAny(String, FirestoreValue)
Field (which must be an array) contains any of the values in the given array value.
The FirestoreValue
should be an array.
NotIn(String, FirestoreValue)
Field’s value is NOT IN the given array value. The FirestoreValue
should be an array.
Trait Implementations§
Source§impl Clone for FirestoreQueryFilterCompare
impl Clone for FirestoreQueryFilterCompare
Source§fn clone(&self) -> FirestoreQueryFilterCompare
fn clone(&self) -> FirestoreQueryFilterCompare
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FirestoreQueryFilterCompare
impl Debug for FirestoreQueryFilterCompare
impl StructuralPartialEq for FirestoreQueryFilterCompare
Auto Trait Implementations§
impl Freeze for FirestoreQueryFilterCompare
impl RefUnwindSafe for FirestoreQueryFilterCompare
impl Send for FirestoreQueryFilterCompare
impl Sync for FirestoreQueryFilterCompare
impl Unpin for FirestoreQueryFilterCompare
impl UnwindSafe for FirestoreQueryFilterCompare
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request