Enum elasticsearch_dsl::search::highlight::Highlighter
source · [−]pub enum Highlighter {
Default(DefaultHighlighter),
Fvh(FastVectorHighlighter),
Plain(PlainHighlighter),
Unified(UnifiedHighlighter),
}
Expand description
Highlighter settings
Variants
Default(DefaultHighlighter)
Default highlighter
Fvh(FastVectorHighlighter)
Fast vector highlighter
Plain(PlainHighlighter)
Plain highlighter
Unified(UnifiedHighlighter)
Unified highlighter
Implementations
sourceimpl Highlighter
impl Highlighter
sourcepub fn new() -> DefaultHighlighter
pub fn new() -> DefaultHighlighter
Creates a new instance of DefaultHighlighter
sourcepub fn fvh() -> FastVectorHighlighter
pub fn fvh() -> FastVectorHighlighter
Creates a new instance of FastVectorHighlighter
sourcepub fn plain() -> PlainHighlighter
pub fn plain() -> PlainHighlighter
Creates a new instance of PlainHighlighter
sourcepub fn unified() -> UnifiedHighlighter
pub fn unified() -> UnifiedHighlighter
Creates a new instance of UnifiedHighlighter
Trait Implementations
sourceimpl Clone for Highlighter
impl Clone for Highlighter
sourcefn clone(&self) -> Highlighter
fn clone(&self) -> Highlighter
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 Highlighter
impl Debug for Highlighter
sourceimpl Default for Highlighter
impl Default for Highlighter
sourceimpl From<DefaultHighlighter> for Highlighter
impl From<DefaultHighlighter> for Highlighter
sourcefn from(highlighter: DefaultHighlighter) -> Self
fn from(highlighter: DefaultHighlighter) -> Self
Converts to this type from the input type.
sourceimpl From<FastVectorHighlighter> for Highlighter
impl From<FastVectorHighlighter> for Highlighter
sourcefn from(highlighter: FastVectorHighlighter) -> Self
fn from(highlighter: FastVectorHighlighter) -> Self
Converts to this type from the input type.
sourceimpl From<PlainHighlighter> for Highlighter
impl From<PlainHighlighter> for Highlighter
sourcefn from(highlighter: PlainHighlighter) -> Self
fn from(highlighter: PlainHighlighter) -> Self
Converts to this type from the input type.
sourceimpl From<UnifiedHighlighter> for Highlighter
impl From<UnifiedHighlighter> for Highlighter
sourcefn from(highlighter: UnifiedHighlighter) -> Self
fn from(highlighter: UnifiedHighlighter) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<Highlighter> for Highlighter
impl PartialEq<Highlighter> for Highlighter
sourcefn eq(&self, other: &Highlighter) -> bool
fn eq(&self, other: &Highlighter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Highlighter) -> bool
fn ne(&self, other: &Highlighter) -> bool
This method tests for !=
.
sourceimpl Serialize for Highlighter
impl Serialize for Highlighter
impl StructuralPartialEq for Highlighter
Auto Trait Implementations
impl RefUnwindSafe for Highlighter
impl Send for Highlighter
impl Sync for Highlighter
impl Unpin for Highlighter
impl UnwindSafe for Highlighter
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