pub struct DeleteByQueryApi<'a> { /* private fields */ }
Expand description
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html
Implementations§
Source§impl DeleteByQueryApi<'_>
impl DeleteByQueryApi<'_>
pub fn new(api: &ElasticApi) -> DeleteByQueryApi<'_>
Source§impl DeleteByQueryApi<'_>
impl DeleteByQueryApi<'_>
pub async fn index( &self, index: &str, query_builder: &QueryBuilder, refresh: bool, ) -> Result<(), ElasticError>
Auto Trait Implementations§
impl<'a> Freeze for DeleteByQueryApi<'a>
impl<'a> !RefUnwindSafe for DeleteByQueryApi<'a>
impl<'a> Send for DeleteByQueryApi<'a>
impl<'a> Sync for DeleteByQueryApi<'a>
impl<'a> Unpin for DeleteByQueryApi<'a>
impl<'a> !UnwindSafe for DeleteByQueryApi<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more