Struct rs_es::query::functions::ScriptScore
[−]
[src]
pub struct ScriptScore { // some fields omitted }
ScriptScore function
Methods
impl ScriptScore
[src]
fn with_lang<T: Into<String>>(self, val: T) -> Self
fn with_params<A>(self, params: A) -> Self where A: IntoIterator<Item=(String, JsonVal)>
fn add_param<A, B>(self, key: A, value: B) -> Self where A: Into<String>, B: Into<JsonVal>
fn build(self) -> Function
Trait Implementations
impl Debug for ScriptScore
[src]
impl Default for ScriptScore
[src]
fn default() -> ScriptScore
Returns the "default value" for a type. Read more