Struct elasticsearch::enrich::Enrich
source · [−]pub struct Enrich<'a> { /* private fields */ }
Expand description
Namespace client for Enrich APIs
Implementations
sourceimpl<'a> Enrich<'a>
impl<'a> Enrich<'a>
pub fn transport(&self) -> &Transport
sourcepub fn delete_policy<'b>(
&'a self,
parts: EnrichDeletePolicyParts<'b>
) -> EnrichDeletePolicy<'a, 'b>
pub fn delete_policy<'b>(
&'a self,
parts: EnrichDeletePolicyParts<'b>
) -> EnrichDeletePolicy<'a, 'b>
Deletes an existing enrich policy and its enrich index.
sourcepub fn execute_policy<'b>(
&'a self,
parts: EnrichExecutePolicyParts<'b>
) -> EnrichExecutePolicy<'a, 'b, ()>
pub fn execute_policy<'b>(
&'a self,
parts: EnrichExecutePolicyParts<'b>
) -> EnrichExecutePolicy<'a, 'b, ()>
Creates the enrich index for an existing enrich policy.
sourcepub fn get_policy<'b>(
&'a self,
parts: EnrichGetPolicyParts<'b>
) -> EnrichGetPolicy<'a, 'b>
pub fn get_policy<'b>(
&'a self,
parts: EnrichGetPolicyParts<'b>
) -> EnrichGetPolicy<'a, 'b>
Gets information about an enrich policy.
sourcepub fn put_policy<'b>(
&'a self,
parts: EnrichPutPolicyParts<'b>
) -> EnrichPutPolicy<'a, 'b, ()>
pub fn put_policy<'b>(
&'a self,
parts: EnrichPutPolicyParts<'b>
) -> EnrichPutPolicy<'a, 'b, ()>
Creates a new enrich policy.
sourcepub fn stats<'b>(&'a self) -> EnrichStats<'a, 'b>
pub fn stats<'b>(&'a self) -> EnrichStats<'a, 'b>
Gets enrich coordinator statistics and information about enrich policies that are currently executing.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Enrich<'a>
impl<'a> Send for Enrich<'a>
impl<'a> Sync for Enrich<'a>
impl<'a> Unpin for Enrich<'a>
impl<'a> !UnwindSafe for Enrich<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more