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
Re-exports all public items from the db module.
The db module contains the core FirestoreDb client and
functionalities for interacting with the Firestore database, such as CRUD operations,
queries, and transactions.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FirestoreQueryFilterCompare
impl Debug for FirestoreQueryFilterCompare
Source§impl PartialEq for FirestoreQueryFilterCompare
impl PartialEq for FirestoreQueryFilterCompare
Source§fn eq(&self, other: &FirestoreQueryFilterCompare) -> bool
fn eq(&self, other: &FirestoreQueryFilterCompare) -> bool
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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
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>
T in a tonic::Request