Enum elasticsearch_dsl::search::SuggestOption
source · [−]pub enum SuggestOption {
Completion(CompletionSuggestOption),
Term(TermSuggestOption),
Phrase(PhraseSuggestOption),
}Expand description
Suggester response option variants
Variants
Completion(CompletionSuggestOption)
Completion suggester response option
Term(TermSuggestOption)
Term suggester response option
Phrase(PhraseSuggestOption)
Phrase suggester response option
Trait Implementations
sourceimpl Clone for SuggestOption
impl Clone for SuggestOption
sourcefn clone(&self) -> SuggestOption
fn clone(&self) -> SuggestOption
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SuggestOption
impl Debug for SuggestOption
sourceimpl<'de> Deserialize<'de> for SuggestOption
impl<'de> Deserialize<'de> for SuggestOption
sourcefn 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
sourceimpl PartialEq<SuggestOption> for SuggestOption
impl PartialEq<SuggestOption> for SuggestOption
sourcefn eq(&self, other: &SuggestOption) -> bool
fn eq(&self, other: &SuggestOption) -> bool
sourceimpl Serialize for SuggestOption
impl Serialize for SuggestOption
impl StructuralPartialEq for SuggestOption
Auto Trait Implementations
impl RefUnwindSafe for SuggestOption
impl Send for SuggestOption
impl Sync for SuggestOption
impl Unpin for SuggestOption
impl UnwindSafe for SuggestOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more