Enum jsonpath_rust::parser::model::FilterExpression
source · pub enum FilterExpression {
Atom(Operand, FilterSign, Operand),
And(Box<FilterExpression>, Box<FilterExpression>),
Or(Box<FilterExpression>, Box<FilterExpression>),
}
Variants§
Atom(Operand, FilterSign, Operand)
a single expression like a > 2
And(Box<FilterExpression>, Box<FilterExpression>)
and with &&
Or(Box<FilterExpression>, Box<FilterExpression>)
or with ||
Implementations§
Trait Implementations§
source§impl Clone for FilterExpression
impl Clone for FilterExpression
source§fn clone(&self) -> FilterExpression
fn clone(&self) -> FilterExpression
Returns a copy 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 FilterExpression
impl Debug for FilterExpression
source§impl PartialEq<FilterExpression> for FilterExpression
impl PartialEq<FilterExpression> for FilterExpression
source§fn eq(&self, other: &FilterExpression) -> bool
fn eq(&self, other: &FilterExpression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.