#[repr(u8)]pub enum LongPatternOperatorV1 {
Equals = 1,
StartsWith = 2,
EndsWith = 3,
Contains = 4,
Like = 5,
ILike = 6,
NotLike = 7,
NotILike = 8,
}Expand description
Closed public operator inventory.
Variants§
Equals = 1
Whole-value equality under the declared profile.
StartsWith = 2
Literal prefix under the declared profile.
EndsWith = 3
Literal suffix under the declared profile.
Contains = 4
Literal substring under the declared profile.
Like = 5
SQL-like % and _ matching under binary UTF-8.
ILike = 6
SQL-like matching under unicode_fold_v1.
NotLike = 7
Authorized-universe difference against Like.
NotILike = 8
Authorized-universe difference against ILike.
Implementations§
Source§impl LongPatternOperatorV1
impl LongPatternOperatorV1
Sourcepub const fn from_discriminant(value: u8) -> Option<Self>
pub const fn from_discriminant(value: u8) -> Option<Self>
Decodes a stable operator discriminant.
Sourcepub const fn is_wildcard(self) -> bool
pub const fn is_wildcard(self) -> bool
Whether the operator interprets wildcard syntax.
Sourcepub const fn is_case_insensitive(self) -> bool
pub const fn is_case_insensitive(self) -> bool
Whether matching uses the Unicode-fold profile regardless of storage profile.
Sourcepub const fn is_negated(self) -> bool
pub const fn is_negated(self) -> bool
Whether result formation is an authorized positive-universe difference.
Trait Implementations§
Source§impl Clone for LongPatternOperatorV1
impl Clone for LongPatternOperatorV1
impl Copy for LongPatternOperatorV1
Source§impl Debug for LongPatternOperatorV1
impl Debug for LongPatternOperatorV1
impl Eq for LongPatternOperatorV1
Source§impl Hash for LongPatternOperatorV1
impl Hash for LongPatternOperatorV1
Source§impl Ord for LongPatternOperatorV1
impl Ord for LongPatternOperatorV1
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 LongPatternOperatorV1
impl PartialEq for LongPatternOperatorV1
Source§impl PartialOrd for LongPatternOperatorV1
impl PartialOrd for LongPatternOperatorV1
impl StructuralPartialEq for LongPatternOperatorV1
Auto Trait Implementations§
impl Freeze for LongPatternOperatorV1
impl RefUnwindSafe for LongPatternOperatorV1
impl Send for LongPatternOperatorV1
impl Sync for LongPatternOperatorV1
impl Unpin for LongPatternOperatorV1
impl UnsafeUnpin for LongPatternOperatorV1
impl UnwindSafe for LongPatternOperatorV1
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