pub struct UpdateByQuery<'a> { /* private fields */ }
Expand description
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html
Implementations§
Source§impl UpdateByQuery<'_>
impl UpdateByQuery<'_>
pub fn new(api: &ElasticApi) -> UpdateByQuery<'_>
Source§impl UpdateByQuery<'_>
impl UpdateByQuery<'_>
pub async fn index( &self, index: &str, query_builder: &QueryBuilder, refresh: bool, ) -> Result<(), ElasticError>
Auto Trait Implementations§
impl<'a> Freeze for UpdateByQuery<'a>
impl<'a> !RefUnwindSafe for UpdateByQuery<'a>
impl<'a> Send for UpdateByQuery<'a>
impl<'a> Sync for UpdateByQuery<'a>
impl<'a> Unpin for UpdateByQuery<'a>
impl<'a> !UnwindSafe for UpdateByQuery<'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