Struct elasticsearch::ingest::Ingest[][src]

pub struct Ingest<'a> { /* fields omitted */ }

Namespace client for Ingest APIs

Implementations

impl<'a> Ingest<'a>[src]

pub fn new(transport: &'a Transport) -> Self[src]

Creates a new instance of Ingest

pub fn transport(&self) -> &Transport[src]

pub fn delete_pipeline<'b>(
    &'a self,
    parts: IngestDeletePipelineParts<'b>
) -> IngestDeletePipeline<'a, 'b>
[src]

Ingest Delete Pipeline API

Deletes a pipeline.

pub fn get_pipeline<'b>(
    &'a self,
    parts: IngestGetPipelineParts<'b>
) -> IngestGetPipeline<'a, 'b>
[src]

Ingest Get Pipeline API

Returns a pipeline.

pub fn processor_grok<'b>(&'a self) -> IngestProcessorGrok<'a, 'b>[src]

Ingest Processor Grok API

Returns a list of the built-in patterns.

pub fn put_pipeline<'b>(
    &'a self,
    parts: IngestPutPipelineParts<'b>
) -> IngestPutPipeline<'a, 'b, ()>
[src]

Ingest Put Pipeline API

Creates or updates a pipeline.

pub fn simulate<'b>(
    &'a self,
    parts: IngestSimulateParts<'b>
) -> IngestSimulate<'a, 'b, ()>
[src]

Ingest Simulate API

Allows to simulate a pipeline with example documents.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Ingest<'a>

impl<'a> Send for Ingest<'a>

impl<'a> Sync for Ingest<'a>

impl<'a> Unpin for Ingest<'a>

impl<'a> !UnwindSafe for Ingest<'a>

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, 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.