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

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

Methods

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

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

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

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

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

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

pub fn send(&self) -> Result<BulkResult, EsError>[src]

Trait Implementations

impl<'a, 'b, S: Debug + 'b> Debug for BulkOperation<'a, 'b, S>[src]

Auto Trait Implementations

impl<'a, 'b, S> !RefUnwindSafe for BulkOperation<'a, 'b, S>

impl<'a, 'b, S> Send for BulkOperation<'a, 'b, S> where
    S: Sync

impl<'a, 'b, S> Sync for BulkOperation<'a, 'b, S> where
    S: Sync

impl<'a, 'b, S> Unpin for BulkOperation<'a, 'b, S>

impl<'a, 'b, S> !UnwindSafe for BulkOperation<'a, 'b, S>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err