Enum mongod::Comparator [−][src]
pub enum Comparator<T> where
T: TryInto<Bson>,
T::Error: Into<Error>, { Eq(T), Gt(T), Gte(T), In(Vec<T>), Lt(T), Lte(T), Ne(T), Nin(Vec<T>), Null, }
Expand description
The BSON comparators for comparison of different BSON type values
Variants
Matches values that are equal to a specified value.
Matches values that are greater than a specified value.
Matches values that are greater than or equal to a specified value.
Matches any of the values specified in an array.
Tuple Fields of In
0: Vec<T>
Matches values that are less than a specified value.
Matches values that are less than or equal to a specified value.
Matches all values that are not equal to a specified value.
Matches none of the values specified in an array.
Tuple Fields of Nin
0: Vec<T>
Matches values that are equal to null.