pub enum ExplainPredicate {
Show 16 variants
None,
True,
False,
And(Vec<Self>),
Or(Vec<Self>),
Not(Box<Self>),
Compare {
field: String,
op: CompareOp,
value: Value,
coercion: CoercionSpec,
},
IsNull {
field: String,
},
IsMissing {
field: String,
},
IsEmpty {
field: String,
},
IsNotEmpty {
field: String,
},
MapContainsKey {
field: String,
key: Value,
coercion: CoercionSpec,
},
MapContainsValue {
field: String,
value: Value,
coercion: CoercionSpec,
},
MapContainsEntry {
field: String,
key: Value,
value: Value,
coercion: CoercionSpec,
},
TextContains {
field: String,
value: Value,
},
TextContainsCi {
field: String,
value: Value,
},
}Expand description
ExplainPredicate
Variants§
None
True
False
And(Vec<Self>)
Or(Vec<Self>)
Not(Box<Self>)
Compare
IsNull
IsMissing
IsEmpty
IsNotEmpty
MapContainsKey
MapContainsValue
MapContainsEntry
TextContains
TextContainsCi
Trait Implementations§
Source§impl Clone for ExplainPredicate
impl Clone for ExplainPredicate
Source§fn clone(&self) -> ExplainPredicate
fn clone(&self) -> ExplainPredicate
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 ExplainPredicate
impl Debug for ExplainPredicate
Source§impl PartialEq for ExplainPredicate
impl PartialEq for ExplainPredicate
impl Eq for ExplainPredicate
impl StructuralPartialEq for ExplainPredicate
Auto Trait Implementations§
impl Freeze for ExplainPredicate
impl RefUnwindSafe for ExplainPredicate
impl Send for ExplainPredicate
impl Sync for ExplainPredicate
impl Unpin for ExplainPredicate
impl UnwindSafe for ExplainPredicate
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