Struct rs_es::operations::bulk::ActionSource [] [src]

pub struct ActionSource {
    // some fields omitted
}

Methods

impl ActionSource

fn new() -> ActionSource

fn with_doc<T: Into<Json>>(self, val: T) -> Self

fn with_upsert<T: Into<Json>>(self, val: T) -> Self

fn with_doc_as_upsert<T: Into<bool>>(self, val: T) -> Self

fn with_script<T: Into<String>>(self, val: T) -> Self

fn with_params<T: Into<Json>>(self, val: T) -> Self

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

Trait Implementations

impl ToJson for ActionSource

fn to_json(&self) -> Json