pub enum Expr {
And(Vec<Expr>),
Or(Vec<Expr>),
Xor(Box<Expr>, Box<Expr>),
Nor(Vec<Expr>),
Not(Box<Expr>),
Field(FieldPred),
Related(RelatedExpr),
}Expand description
Boolean expression tree evaluated against a reconstructed record.
Variants§
And(Vec<Expr>)
Logical AND of every child.
Or(Vec<Expr>)
Logical OR of every child.
Xor(Box<Expr>, Box<Expr>)
Logical XOR ($xor)
Nor(Vec<Expr>)
Logical NOR ($nor)
Not(Box<Expr>)
Logical negation of the child.
Field(FieldPred)
A single field predicate.
Related(RelatedExpr)
Related-record traversal predicate (label-key blocks, $relation,
hops, $cycle). Evaluated existentially over reachable targets.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Expr
impl<'de> Deserialize<'de> for Expr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnsafeUnpin for Expr
impl UnwindSafe for Expr
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