Struct rs_es::operations::search::Script
[−]
[src]
pub struct Script { // some fields omitted }
Representing options for sort by script
pub struct Script { // some fields omitted }
Representing options for sort by script
impl Script
fn new<S, ST>(script: S, script_type: ST) -> Script where S: Into<String>, ST: Into<String>
fn with_order<T: Into<Order>>(self, val: T) -> Self
fn add_param<K, V>(self, key: K, value: V) -> Self where K: Into<String>, V: Into<JsonVal>
fn build(self) -> SortBy
impl ToJson for Script