Enum jsonpath_rust::parser::model::FilterExpression
source · pub enum FilterExpression {
Atom(Operand, FilterSign, Operand),
And(Box<FilterExpression>, Box<FilterExpression>),
Or(Box<FilterExpression>, Box<FilterExpression>),
Not(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 ||
Not(Box<FilterExpression>)
not 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 for FilterExpression
impl PartialEq 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 ==
.impl StructuralPartialEq for FilterExpression
Auto Trait Implementations§
impl Freeze for FilterExpression
impl RefUnwindSafe for FilterExpression
impl Send for FilterExpression
impl Sync for FilterExpression
impl Unpin for FilterExpression
impl UnwindSafe for FilterExpression
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