pub enum BodyOp {
Show 25 variants
Equal,
EqualString,
Contains,
NotContains,
StartsWith,
NotStartsWith,
EndsWith,
NotEndsWith,
Regex,
NotRegex,
EqualTyped,
EqualNumber,
GreaterThan,
LessThan,
GreaterOrEqual,
LessOrEqual,
Exists,
Absent,
ArrayLengthEqual,
ArrayLengthAtLeast,
ArrayContains,
EqualInteger,
MapHasKey,
MapDoesNotHaveKey,
StructuralContains,
}Expand description
Operator for a body condition (RFC 002 / RFC 008 / RFC 021 / RFC 022).
Variants§
Equal
EqualString
Contains
NotContains
StartsWith
NotStartsWith
EndsWith
NotEndsWith
Regex
NotRegex
EqualTyped
EqualNumber
GreaterThan
LessThan
GreaterOrEqual
LessOrEqual
Exists
Absent
ArrayLengthEqual
ArrayLengthAtLeast
ArrayContains
EqualInteger
MapHasKey
MapDoesNotHaveKey
StructuralContains
Trait Implementations§
impl Copy for BodyOp
impl Eq for BodyOp
impl StructuralPartialEq for BodyOp
Auto Trait Implementations§
impl Freeze for BodyOp
impl RefUnwindSafe for BodyOp
impl Send for BodyOp
impl Sync for BodyOp
impl Unpin for BodyOp
impl UnsafeUnpin for BodyOp
impl UnwindSafe for BodyOp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.