#[repr(u8)]pub enum ExactTextOperatorV1 {
Equals = 1,
StartsWith = 2,
EndsWith = 3,
Contains = 4,
}Expand description
Closed exact operators; no wildcard, regex, token, fuzzy, or score shape exists.
Variants§
Equals = 1
Complete byte equality.
StartsWith = 2
Needle is an exact leading byte sequence.
EndsWith = 3
Needle is an exact trailing byte sequence.
Contains = 4
Needle is an exact contiguous byte sequence.
Trait Implementations§
Source§impl Clone for ExactTextOperatorV1
impl Clone for ExactTextOperatorV1
impl Copy for ExactTextOperatorV1
Source§impl Debug for ExactTextOperatorV1
impl Debug for ExactTextOperatorV1
impl Eq for ExactTextOperatorV1
Source§impl Hash for ExactTextOperatorV1
impl Hash for ExactTextOperatorV1
Source§impl Ord for ExactTextOperatorV1
impl Ord for ExactTextOperatorV1
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExactTextOperatorV1
impl PartialEq for ExactTextOperatorV1
Source§impl PartialOrd for ExactTextOperatorV1
impl PartialOrd for ExactTextOperatorV1
impl StructuralPartialEq for ExactTextOperatorV1
Auto Trait Implementations§
impl Freeze for ExactTextOperatorV1
impl RefUnwindSafe for ExactTextOperatorV1
impl Send for ExactTextOperatorV1
impl Sync for ExactTextOperatorV1
impl Unpin for ExactTextOperatorV1
impl UnsafeUnpin for ExactTextOperatorV1
impl UnwindSafe for ExactTextOperatorV1
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