[−][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 Clone for Setting
[src]
impl Debug for Setting
[src]
impl Default for Setting
[src]
impl Serialize for Setting
[src]
Auto Trait Implementations
impl RefUnwindSafe for Setting
impl Send for Setting
impl Sync for Setting
impl Unpin for Setting
impl UnwindSafe for Setting
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> 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, U> TryFrom<U> 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, U> TryInto<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,