pub struct ElasticApi { /* private fields */ }
Implementations§
Source§impl ElasticApi
impl ElasticApi
pub fn new(client: Elasticsearch) -> ElasticApi
pub fn get(&self) -> GetApi<'_>
pub fn update(&self) -> UpdateApi<'_>
pub fn indices(&self) -> IndicesApi<'_>
pub fn search(&self) -> SearchApi<'_>
pub fn bulk(&self) -> BulkApi<'_>
pub fn index(&self) -> IndexApi<'_>
pub fn delete_by_query(&self) -> DeleteByQueryApi<'_>
pub fn update_by_query(&self) -> UpdateByQuery<'_>
pub fn ilm(&self) -> IlmApi<'_>
Auto Trait Implementations§
impl Freeze for ElasticApi
impl !RefUnwindSafe for ElasticApi
impl Send for ElasticApi
impl Sync for ElasticApi
impl Unpin for ElasticApi
impl !UnwindSafe for ElasticApi
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