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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SuggestOption) -> bool
fn ne(&self, other: &SuggestOption) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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