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
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