pub enum PredicateNode {
Leaf(Predicate),
Group {
combine: Combine,
nodes: Vec<PredicateNode>,
},
}Variants§
Implementations§
Source§impl PredicateNode
impl PredicateNode
pub fn leaf(field: impl Into<String>, op: ComparisonOp, value: Value) -> Self
pub fn and(nodes: Vec<PredicateNode>) -> Self
pub fn or(nodes: Vec<PredicateNode>) -> Self
Trait Implementations§
Source§impl Clone for PredicateNode
impl Clone for PredicateNode
Source§impl Debug for PredicateNode
impl Debug for PredicateNode
Source§impl PartialEq for PredicateNode
impl PartialEq for PredicateNode
impl StructuralPartialEq for PredicateNode
Auto Trait Implementations§
impl Freeze for PredicateNode
impl RefUnwindSafe for PredicateNode
impl Send for PredicateNode
impl Sync for PredicateNode
impl Unpin for PredicateNode
impl UnsafeUnpin for PredicateNode
impl UnwindSafe for PredicateNode
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