pub enum QueryNode {
And(Vec<QueryNode>),
Or(Vec<QueryNode>),
Not(Box<QueryNode>),
Pred(SubjectPredicate),
}Expand description
Boolean query tree.
Variants§
And(Vec<QueryNode>)
All children must match.
Or(Vec<QueryNode>)
Any child matches.
Not(Box<QueryNode>)
Negation (subjects that do not match the child).
Pred(SubjectPredicate)
Leaf predicate.
Implementations§
Trait Implementations§
impl StructuralPartialEq for QueryNode
Auto Trait Implementations§
impl Freeze for QueryNode
impl RefUnwindSafe for QueryNode
impl Send for QueryNode
impl Sync for QueryNode
impl Unpin for QueryNode
impl UnsafeUnpin for QueryNode
impl UnwindSafe for QueryNode
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