Struct meilisearch_sdk::documents::DocumentDeletionQuery
source · pub struct DocumentDeletionQuery<'a> {
pub index: &'a Index,
pub filter: Option<&'a str>,
}Fields§
§index: &'a Index§filter: Option<&'a str>Filters to apply.
Read the dedicated guide to learn the syntax.
Implementations§
source§impl<'a> DocumentDeletionQuery<'a>
impl<'a> DocumentDeletionQuery<'a>
pub fn new(index: &Index) -> DocumentDeletionQuery<'_>
pub fn with_filter<'b>( &'b mut self, filter: &'a str ) -> &'b mut DocumentDeletionQuery<'a>
pub async fn execute<T: DeserializeOwned + 'static>( &self ) -> Result<TaskInfo, Error>
Trait Implementations§
source§impl<'a> Clone for DocumentDeletionQuery<'a>
impl<'a> Clone for DocumentDeletionQuery<'a>
source§fn clone(&self) -> DocumentDeletionQuery<'a>
fn clone(&self) -> DocumentDeletionQuery<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a> Debug for DocumentDeletionQuery<'a>
impl<'a> Debug for DocumentDeletionQuery<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DocumentDeletionQuery<'a>
impl<'a> Send for DocumentDeletionQuery<'a>
impl<'a> Sync for DocumentDeletionQuery<'a>
impl<'a> Unpin for DocumentDeletionQuery<'a>
impl<'a> UnwindSafe for DocumentDeletionQuery<'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