pub type AttrOp = PredicateOp;Expand description
Alias for PredicateOp (backwards compatibility).
Aliased Type§
pub enum AttrOp {
Eq,
WordMatch,
PrefixMatch,
StartsWith,
EndsWith,
Contains,
NotEq,
Lt,
Gt,
Lte,
Gte,
}Variants§
Eq
= — exact match
WordMatch
~= — whitespace-separated word match
PrefixMatch
|= — exact or hyphenated prefix
StartsWith
^= — starts with
EndsWith
$= — ends with
Contains
*= — contains substring
NotEq
!= — not equal
Lt
< — less than (numeric)
Gt
> — greater than (numeric)
Lte
<= — less than or equal (numeric)
Gte
>= — greater than or equal (numeric)