Enum elasticsearch_dsl::search::highlight::Encoder
source · pub enum Encoder {
Default,
Html,
}
Expand description
Indicates if the snippet should be HTML encoded.
Variants§
Trait Implementations§
source§impl Ord for Encoder
impl Ord for Encoder
source§impl PartialEq<Encoder> for Encoder
impl PartialEq<Encoder> for Encoder
source§impl PartialOrd<Encoder> for Encoder
impl PartialOrd<Encoder> for Encoder
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Encoder
impl Eq for Encoder
impl StructuralEq for Encoder
impl StructuralPartialEq for Encoder
Auto Trait Implementations§
impl RefUnwindSafe for Encoder
impl Send for Encoder
impl Sync for Encoder
impl Unpin for Encoder
impl UnwindSafe for Encoder
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