pub enum Cmp {
Eq(Parameterized<TagValue>),
Ne(Parameterized<TagValue>),
Gt(Parameterized<TagValue>),
Ge(Parameterized<TagValue>),
Lt(Parameterized<TagValue>),
Le(Parameterized<TagValue>),
RegEx(Parameterized<EncodableRegex>),
RegExNot(Parameterized<EncodableRegex>),
Is(TagType),
}Expand description
A comparison operator for filtering based on a value
Variants§
Eq(Parameterized<TagValue>)
Equal to the given value
Ne(Parameterized<TagValue>)
Not equal to the given value
Gt(Parameterized<TagValue>)
Greater than the given value
Ge(Parameterized<TagValue>)
Greater than or equal to the given value
Lt(Parameterized<TagValue>)
Less than the given value
Le(Parameterized<TagValue>)
Less than or equal to the given value
RegEx(Parameterized<EncodableRegex>)
Matches the given regular expression
RegExNot(Parameterized<EncodableRegex>)
Does not match the given regular expression
Is(TagType)
Is the given tag type
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cmp
impl<'de> Deserialize<'de> for Cmp
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 StructuralPartialEq for Cmp
Auto Trait Implementations§
impl Freeze for Cmp
impl RefUnwindSafe for Cmp
impl Send for Cmp
impl Sync for Cmp
impl Unpin for Cmp
impl UnsafeUnpin for Cmp
impl UnwindSafe for Cmp
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