pub struct CombinedPredicate {
pub op: LogicalOp,
pub children: Vec<Box<dyn PredicateClone>>,
}Expand description
A combined predicate joins multiple predicates with AND/OR.
Fields§
§op: LogicalOp§children: Vec<Box<dyn PredicateClone>>Implementations§
Source§impl CombinedPredicate
impl CombinedPredicate
pub fn and(children: Vec<Box<dyn PredicateClone>>) -> Self
pub fn or(children: Vec<Box<dyn PredicateClone>>) -> Self
Trait Implementations§
Source§impl Clone for CombinedPredicate
impl Clone for CombinedPredicate
Source§fn clone(&self) -> CombinedPredicate
fn clone(&self) -> CombinedPredicate
Returns a duplicate 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 Debug for CombinedPredicate
impl Debug for CombinedPredicate
Auto Trait Implementations§
impl Freeze for CombinedPredicate
impl !RefUnwindSafe for CombinedPredicate
impl !Send for CombinedPredicate
impl !Sync for CombinedPredicate
impl Unpin for CombinedPredicate
impl !UnwindSafe for CombinedPredicate
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