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

pub struct BulkOperation<'a, 'b, S: 'b> {
    // some fields omitted
}

Methods

impl<'a, 'b, S> BulkOperation<'a, 'b, S> where S: Serialize
[src]

fn new(client: &'a mut Client, actions: &'b [Action<S>]) -> Self

fn with_index(&'b mut self, index: &'b str) -> &'b mut Self

fn with_doc_type(&'b mut self, doc_type: &'b str) -> &'b mut Self

fn with_consistency<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self

fn with_refresh<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self

fn send(&'b mut self) -> Result<BulkResultEsError>