pub enum StringSearch<'a> {
Standard {
name: &'a str,
value: &'a str,
},
Contains {
name: &'a str,
value: &'a str,
},
Exact {
name: &'a str,
value: &'a str,
},
}Expand description
String search.
Only implements most common functionality. Refer to adding raw queries when this does not suffice.
Variants§
Standard
Standard string search. This is a case-insensitive starts-with search.
Contains
Search a string that contains the given value.
Exact
Search a string that matches exactly the value, including casing and accents.
Trait Implementations§
Source§impl<'a> Clone for StringSearch<'a>
impl<'a> Clone for StringSearch<'a>
impl<'a> Copy for StringSearch<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringSearch<'a>
impl<'a> RefUnwindSafe for StringSearch<'a>
impl<'a> Send for StringSearch<'a>
impl<'a> Sync for StringSearch<'a>
impl<'a> Unpin for StringSearch<'a>
impl<'a> UnsafeUnpin for StringSearch<'a>
impl<'a> UnwindSafe for StringSearch<'a>
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