pub enum FilterExpression<T> {
Atom(Operand<T>, FilterSign, Operand<T>),
And(Box<FilterExpression<T>>, Box<FilterExpression<T>>),
Or(Box<FilterExpression<T>>, Box<FilterExpression<T>>),
Not(Box<FilterExpression<T>>),
}
Variants§
Atom(Operand<T>, FilterSign, Operand<T>)
a single expression like a > 2
And(Box<FilterExpression<T>>, Box<FilterExpression<T>>)
and with &&
Or(Box<FilterExpression<T>>, Box<FilterExpression<T>>)
or with ||
Not(Box<FilterExpression<T>>)
not with !
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for FilterExpression<T>
impl<T: Clone> Clone for FilterExpression<T>
Source§fn clone(&self) -> FilterExpression<T>
fn clone(&self) -> FilterExpression<T>
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<T: Debug> Debug for FilterExpression<T>
impl<T: Debug> Debug for FilterExpression<T>
Source§impl<T: Display> Display for FilterExpression<T>
impl<T: Display> Display for FilterExpression<T>
Source§impl<T: PartialEq> PartialEq for FilterExpression<T>
impl<T: PartialEq> PartialEq for FilterExpression<T>
impl<T> StructuralPartialEq for FilterExpression<T>
Auto Trait Implementations§
impl<T> Freeze for FilterExpression<T>where
T: Freeze,
impl<T> RefUnwindSafe for FilterExpression<T>where
T: RefUnwindSafe,
impl<T> Send for FilterExpression<T>where
T: Send,
impl<T> Sync for FilterExpression<T>where
T: Sync,
impl<T> Unpin for FilterExpression<T>where
T: Unpin,
impl<T> UnwindSafe for FilterExpression<T>where
T: UnwindSafe,
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