[−][src]Struct rs_es::operations::search::highlight::Setting
Fields
setting_type: Option<SettingTypes>
index_options: Option<IndexOptions>
term_vector: Option<TermVector>
force_source: bool
fragment_size: u32
number_of_fragments: u32
no_match_size: u32
matched_fields: Option<Vec<String>>
Methods
impl Setting
[src]
pub fn new() -> Self
[src]
pub fn with_type(&mut self, setting_type: SettingTypes) -> &mut Setting
[src]
pub fn with_index_options(
&mut self,
index_options: IndexOptions
) -> &mut Setting
[src]
&mut self,
index_options: IndexOptions
) -> &mut Setting
pub fn with_term_vector(&mut self, term_vector: TermVector) -> &mut Setting
[src]
pub fn with_force_source(&mut self, force_source: bool) -> &mut Setting
[src]
pub fn with_fragment_size(&mut self, fragment_size: u32) -> &mut Setting
[src]
pub fn with_number_of_fragments(
&mut self,
number_of_fragments: u32
) -> &mut Setting
[src]
&mut self,
number_of_fragments: u32
) -> &mut Setting
pub fn with_no_match_size(&mut self, no_match_size: u32) -> &mut Setting
[src]
pub fn with_matched_fields(
&mut self,
matched_fields: Vec<String>
) -> &mut Setting
[src]
&mut self,
matched_fields: Vec<String>
) -> &mut Setting
Trait Implementations
impl Default for Setting
[src]
impl Clone for Setting
[src]
fn clone(&self) -> Setting
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Setting
[src]
impl Serialize for Setting
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Erased for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
U: TryFrom<T>,