Struct rs_es::query::ScriptScoreFunc [] [src]

pub struct ScriptScoreFunc {
    // some fields omitted
}

Methods

impl ScriptScoreFunc

fn with_lang<T: Into<String>>(self, value: T) -> Self

fn with_params<T: Into<BTreeMap<String, JsonVal>>>(self, value: T) -> Self

fn build(self) -> Func

Trait Implementations

impl ToJson for ScriptScoreFunc

fn to_json(&self) -> Json

Derived Implementations

impl Debug for ScriptScoreFunc

fn fmt(&self, __arg_0: &mut Formatter) -> Result