pub enum Comparison {
Equal,
NotEqual,
GreaterThan,
GreaterOrEqual,
LessThan,
LessOrEqual,
}
Expand description
Used by ListRequest::filter
to apply conditional filtering to the returned results.
See the OData 3.0 documentation (section 5.1.2) for more information.
Variants§
Equal
The Equal operator evaluates to true if the field is equal to the value, otherwise if evaluates to false.
NotEqual
The NotEqual operator evaluates to true if the field is not equal to the value, otherwise if evaluates to false.
GreaterThan
The GreaterThan operator evaluates to true if the field is greater than the value, otherwise if evaluates to false.
GreaterOrEqual
The GreaterOrEqual operator evaluates to true if the field is greater than or equal to the value, otherwise if evaluates to false.
LessThan
The LessThan operator evaluates to true if the field is less than the value, otherwise if evaluates to false.
LessOrEqual
LessOrEqual operator evaluates to true if the field is less than or equal to the value, otherwise if evaluates to false.
Trait Implementations§
Source§impl Clone for Comparison
impl Clone for Comparison
Source§fn clone(&self) -> Comparison
fn clone(&self) -> Comparison
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more