pub enum Predicate {
Show 13 variants
True,
False,
And(Vec<Self>),
Or(Vec<Self>),
Not(Box<Self>),
Compare(ComparePredicate),
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,
},
}Expand description
Predicate
Variants§
True
False
And(Vec<Self>)
Or(Vec<Self>)
Not(Box<Self>)
Compare(ComparePredicate)
IsNull
IsMissing
IsEmpty
IsNotEmpty
MapContainsKey
MapContainsValue
MapContainsEntry
Trait Implementations§
impl Eq for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnwindSafe for Predicate
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