[][src]Struct elasticsearch::BulkDeleteOperation

pub struct BulkDeleteOperation<B> { /* fields omitted */ }

Bulk delete operation

The bulk delete operation is generic over B to allow delete operations to be specified in a collection of operations over B, even though the source of any delete operation will always be None

Implementations

impl<B> BulkDeleteOperation<B>[src]

pub fn new<S>(id: S) -> Self where
    S: Into<String>, 
[src]

Creates a new instance of BulkDeleteOperation

pub fn index<S>(mut self: Self, index: S) -> Self where
    S: Into<String>, 
[src]

Specify the name of the index to perform the bulk update operation against.

Each bulk operation can specify an index to operate against. If all bulk operations in one Bulk API call will operate against the same index, specify the index on Bulk using BulkParts::Index, and omit specifying the index on each bulk operation.

pub fn routing<S>(mut self: Self, routing: S) -> Self where
    S: Into<String>, 
[src]

Target the specified primary shard

pub fn if_seq_no(mut self: Self, seq_no: i64) -> Self[src]

Specify a sequence number to use for optimistic concurrency control

pub fn if_primary_term(mut self: Self, primary_term: i64) -> Self[src]

Specify a primary term to use for optimistic concurrency control

pub fn version(mut self: Self, version: i64) -> Self[src]

Specify a version number to use for optimistic concurrency control

pub fn version_type(mut self: Self, version_type: VersionType) -> Self[src]

The type of versioning used when a version is specified

Trait Implementations

impl<B> From<BulkDeleteOperation<B>> for BulkOperation<B>[src]

Auto Trait Implementations

impl<B> RefUnwindSafe for BulkDeleteOperation<B> where
    B: RefUnwindSafe
[src]

impl<B> Send for BulkDeleteOperation<B> where
    B: Send
[src]

impl<B> Sync for BulkDeleteOperation<B> where
    B: Sync
[src]

impl<B> Unpin for BulkDeleteOperation<B> where
    B: Unpin
[src]

impl<B> UnwindSafe for BulkDeleteOperation<B> where
    B: UnwindSafe
[src]

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> Instrument for T[src]

impl<T> Instrument 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.