pub enum ComparisonOperator {
Equal,
NotEqual,
GreaterThan,
GreaterThanOrEqual,
LessThan,
LessThanOrEqual,
In,
Like,
Matches,
IsSubset,
IsSuperset,
Exists,
}Expand description
The operator of a property test.
Variants§
Equal
=
NotEqual
!= or <>
GreaterThan
>
GreaterThanOrEqual
>=
LessThan
<
LessThanOrEqual
<=
In
IN: membership in a set of literals.
Like
LIKE: SQL-style wildcard match (%, _).
Matches
MATCHES: regular-expression match.
IsSubset
ISSUBSET: IP address/range containment.
IsSuperset
ISSUPERSET: inverse IP address/range containment.
Exists
EXISTS objectPath; for this operator the operand is ignored.
Trait Implementations§
Source§impl Clone for ComparisonOperator
impl Clone for ComparisonOperator
Source§fn clone(&self) -> ComparisonOperator
fn clone(&self) -> ComparisonOperator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ComparisonOperator
Source§impl Debug for ComparisonOperator
impl Debug for ComparisonOperator
Source§impl<'de> Deserialize<'de> for ComparisonOperator
impl<'de> Deserialize<'de> for ComparisonOperator
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 ComparisonOperator
Source§impl PartialEq for ComparisonOperator
impl PartialEq for ComparisonOperator
Source§fn eq(&self, other: &ComparisonOperator) -> bool
fn eq(&self, other: &ComparisonOperator) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComparisonOperator
impl Serialize for ComparisonOperator
impl StructuralPartialEq for ComparisonOperator
Auto Trait Implementations§
impl Freeze for ComparisonOperator
impl RefUnwindSafe for ComparisonOperator
impl Send for ComparisonOperator
impl Sync for ComparisonOperator
impl Unpin for ComparisonOperator
impl UnsafeUnpin for ComparisonOperator
impl UnwindSafe for ComparisonOperator
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