pub enum TextMatch {
Exact,
Contains,
StartsWith,
EndsWith,
}Expand description
Text matching strategy for find_by_text operations
Variants§
Exact
Exact match (trimmed, case-sensitive)
Contains
Contains the text (case-insensitive) - default
StartsWith
Starts with the text (case-insensitive)
EndsWith
Ends with the text (case-insensitive)
Trait Implementations§
impl Copy for TextMatch
impl Eq for TextMatch
impl StructuralPartialEq for TextMatch
Auto Trait Implementations§
impl Freeze for TextMatch
impl RefUnwindSafe for TextMatch
impl Send for TextMatch
impl Sync for TextMatch
impl Unpin for TextMatch
impl UnsafeUnpin for TextMatch
impl UnwindSafe for TextMatch
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