pub struct Predicate {
pub name: String,
pub op: Option<PredicateOp>,
pub value: Option<PredicateValue>,
}Expand description
A predicate expression: name, name=value, name^=value, etc.
Fields§
§name: StringName to test.
op: Option<PredicateOp>Comparison operator; None means presence-only check.
value: Option<PredicateValue>Typed value to compare against, if an operator is present.
Trait Implementations§
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 UnsafeUnpin 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