pub enum FilterExpression {
Comparison {
field: String,
op: CompareOp,
value: Literal,
},
Boolean {
op: BoolOp,
lhs: Box<FilterExpression>,
rhs: Box<FilterExpression>,
},
}Expand description
Filter-Expression — boolescher Ausdruck ueber Field-Referenzen.
Variants§
Comparison
Einzelner Vergleich.
Fields
Boolean
Konjunktion / Disjunktion.
Fields
§
lhs: Box<FilterExpression>Linke Sub-Expression.
§
rhs: Box<FilterExpression>Rechte Sub-Expression.
Trait Implementations§
Source§impl Clone for FilterExpression
impl Clone for FilterExpression
Source§fn clone(&self) -> FilterExpression
fn clone(&self) -> FilterExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
Tests for
self and other values to be equal, and is used by ==.impl Eq 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 UnsafeUnpin 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