pub enum IndexerSearchMode {
Prefix,
Exact,
Partial,
}
Expand description
IndexerSearchMode represent search mode, default is prefix search
Variants§
Prefix
Mode prefix
search with prefix
Exact
Mode exact
search with exact match
Partial
Mode partial
search with partial match
Trait Implementations§
source§impl Default for IndexerSearchMode
impl Default for IndexerSearchMode
source§impl<'de> Deserialize<'de> for IndexerSearchMode
impl<'de> Deserialize<'de> for IndexerSearchMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for IndexerSearchMode
impl PartialEq for IndexerSearchMode
source§fn eq(&self, other: &IndexerSearchMode) -> bool
fn eq(&self, other: &IndexerSearchMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IndexerSearchMode
impl StructuralPartialEq for IndexerSearchMode
Auto Trait Implementations§
impl RefUnwindSafe for IndexerSearchMode
impl Send for IndexerSearchMode
impl Sync for IndexerSearchMode
impl Unpin for IndexerSearchMode
impl UnwindSafe for IndexerSearchMode
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