Struct elastic::types::string::prelude::FieldDataFrequencyFilter
[−]
[src]
pub struct FieldDataFrequencyFilter { pub min: Option<f32>, pub max: Option<f32>, pub min_segment_size: Option<i32>, }
Fielddata for term frequency as a percentage range.
Fields
min: Option<f32>
The min frequency percentage.
max: Option<f32>
The max frequency percentage.
min_segment_size: Option<i32>
The minimum number of docs a segment should contain.
Trait Implementations
impl Copy for FieldDataFrequencyFilter
[src]
impl PartialEq<FieldDataFrequencyFilter> for FieldDataFrequencyFilter
[src]
fn eq(&self, __arg_0: &FieldDataFrequencyFilter) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FieldDataFrequencyFilter) -> bool
[src]
This method tests for !=
.
impl Clone for FieldDataFrequencyFilter
[src]
fn clone(&self) -> FieldDataFrequencyFilter
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for FieldDataFrequencyFilter
[src]
fn default() -> FieldDataFrequencyFilter
[src]
Returns the "default value" for a type. Read more
impl Serialize for FieldDataFrequencyFilter
[src]
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more