pub enum SearchMethod {
Fulltext,
Semantic,
Hybrid,
Bm25,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for SearchMethod
impl Clone for SearchMethod
Source§fn clone(&self) -> SearchMethod
fn clone(&self) -> SearchMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SearchMethod
Source§impl Debug for SearchMethod
impl Debug for SearchMethod
Source§impl Default for SearchMethod
impl Default for SearchMethod
Source§fn default() -> SearchMethod
fn default() -> SearchMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchMethod
impl<'de> Deserialize<'de> for SearchMethod
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
impl Eq for SearchMethod
Source§impl Hash for SearchMethod
impl Hash for SearchMethod
Source§impl Ord for SearchMethod
impl Ord for SearchMethod
Source§fn cmp(&self, other: &SearchMethod) -> Ordering
fn cmp(&self, other: &SearchMethod) -> Ordering
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
Source§impl PartialEq for SearchMethod
impl PartialEq for SearchMethod
Source§fn eq(&self, other: &SearchMethod) -> bool
fn eq(&self, other: &SearchMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SearchMethod
impl PartialOrd for SearchMethod
Source§impl Serialize for SearchMethod
impl Serialize for SearchMethod
impl StructuralPartialEq for SearchMethod
Auto Trait Implementations§
impl Freeze for SearchMethod
impl RefUnwindSafe for SearchMethod
impl Send for SearchMethod
impl Sync for SearchMethod
impl Unpin for SearchMethod
impl UnsafeUnpin for SearchMethod
impl UnwindSafe for SearchMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.