pub fn ingredient(&mut self, ingredient: &str, value: &str) -> &mut Self {
        self.params.push((
            String::from(ingredient),
            match ingredient {
                "additives" => Value::from(format!("{}_additives", value)),
                _ => Value::from(value),
            },
        ));
        self
    }
/// Define an ingredient query parameter.
///
/// Produces a pair
///
/// `<ingredient>=<value>`
///
/// # Arguments
///
/// * ingredient - One of:
///     - "additives"
///     - "ingredients_from_palm_oil",
///     - "ingredients_that_may_be_from_palm_oil",
///     - "ingredients_from_or_that_may_be_from_palm_oil".
// * value: One of "with", "without", "indifferent".
///
/// If `ingredient` is "additives", the values "with", "without" and "indiferent"
/// are converted to "with_additives", "without_additives" and "indifferent_additives"
/// respectively.
Define an ingredient query parameter.
Produces a pair


Define an ingredient query parameter . Produces a pair
pub fn ingredient(&mut self, ingredient: &str, value: &str) -> &mut Self {
        self.params.push((
            String::from(ingredient),
            match ingredient {
                "additives" => Value::from(format!("{}_additives", value)),
                _ => Value::from(value),
            },
        ));
        self
    }
pub fn ingredient ( & mut self , ingredient : & str , value : & str ) -> & mut Self { self . params . push ( ( String :: from ( ingredient ) , match ingredient { " " => Value :: from ( format ! ( " " value ) ) , _ => Value :: from ( value ) , } , ) ) ; self }
Define an ingredient query parameter.
Define an ingredient query parameter .
&mut self
ingredient
&str
value
&str
&mut self
ingredient
&str
value
&str