pub enum MatchOp {
Glob,
Exact,
Regex,
NotGlob,
NotExact,
NotRegex,
}Expand description
Comparison operator for field conditions.
Variants§
Glob
~ — glob pattern match.
Exact
= — exact string equality.
Regex
=~ — regex match.
NotGlob
!~ — negated glob.
NotExact
!= — not equal.
NotRegex
!=~ — negated regex.
Trait Implementations§
impl Copy for MatchOp
Source§impl<'de> Deserialize<'de> for MatchOp
impl<'de> Deserialize<'de> for MatchOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MatchOp
impl StructuralPartialEq for MatchOp
Auto Trait Implementations§
impl Freeze for MatchOp
impl RefUnwindSafe for MatchOp
impl Send for MatchOp
impl Sync for MatchOp
impl Unpin for MatchOp
impl UnsafeUnpin for MatchOp
impl UnwindSafe for MatchOp
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