Enum rs_es::query::MinimumShouldMatch
[−]
[src]
pub enum MinimumShouldMatch { Integer(i64), Percentage(f64), Combination(Box<CombinationMinimumShouldMatch>), MultipleCombination(Vec<CombinationMinimumShouldMatch>), LowHigh(i64, i64), }
Variants
Integer(i64)
Percentage(f64)
Combination(Box<CombinationMinimumShouldMatch>)
MultipleCombination(Vec<CombinationMinimumShouldMatch>)
LowHigh(i64, i64)
Trait Implementations
impl Debug for MinimumShouldMatch
[src]
impl From<i64> for MinimumShouldMatch
[src]
fn from(from: i64) -> MinimumShouldMatch
Performs the conversion.
impl From<f64> for MinimumShouldMatch
[src]
fn from(from: f64) -> MinimumShouldMatch
Performs the conversion.
impl From<CombinationMinimumShouldMatch> for MinimumShouldMatch
[src]
fn from(from: CombinationMinimumShouldMatch) -> MinimumShouldMatch
Performs the conversion.
impl From<Vec<CombinationMinimumShouldMatch>> for MinimumShouldMatch
[src]
fn from(from: Vec<CombinationMinimumShouldMatch>) -> MinimumShouldMatch
Performs the conversion.
impl From<(i64, i64)> for MinimumShouldMatch
[src]
impl ToString for MinimumShouldMatch
[src]
impl Serialize for MinimumShouldMatch
[src]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer
Serializes this value into this serializer.