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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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