Struct meilisearch_sdk::tasks::TasksQuery
source · pub struct TasksQuery<'a, T> { /* private fields */ }Implementations§
source§impl<'a, T> TasksQuery<'a, T>
impl<'a, T> TasksQuery<'a, T>
pub fn with_index_uids<'b>(
&'b mut self,
index_uids: impl IntoIterator<Item = &'a str>
) -> &'b mut TasksQuery<'a, T>
pub fn with_statuses<'b>(
&'b mut self,
statuses: impl IntoIterator<Item = &'a str>
) -> &'b mut TasksQuery<'a, T>
pub fn with_types<'b>(
&'b mut self,
task_types: impl IntoIterator<Item = &'a str>
) -> &'b mut TasksQuery<'a, T>
pub fn with_uids<'b>(
&'b mut self,
uids: impl IntoIterator<Item = &'a u32>
) -> &'b mut TasksQuery<'a, T>
pub fn with_before_enqueued_at<'b>(
&'b mut self,
before_enqueued_at: &'a OffsetDateTime
) -> &'b mut TasksQuery<'a, T>
pub fn with_after_enqueued_at<'b>(
&'b mut self,
after_enqueued_at: &'a OffsetDateTime
) -> &'b mut TasksQuery<'a, T>
pub fn with_before_started_at<'b>(
&'b mut self,
before_started_at: &'a OffsetDateTime
) -> &'b mut TasksQuery<'a, T>
pub fn with_after_started_at<'b>(
&'b mut self,
after_started_at: &'a OffsetDateTime
) -> &'b mut TasksQuery<'a, T>
pub fn with_before_finished_at<'b>(
&'b mut self,
before_finished_at: &'a OffsetDateTime
) -> &'b mut TasksQuery<'a, T>
pub fn with_after_finished_at<'b>(
&'b mut self,
after_finished_at: &'a OffsetDateTime
) -> &'b mut TasksQuery<'a, T>
pub fn with_canceled_by<'b>(
&'b mut self,
task_uids: impl IntoIterator<Item = &'a u32>
) -> &'b mut TasksQuery<'a, T>
source§impl<'a> TasksQuery<'a, TasksCancelFilters>
impl<'a> TasksQuery<'a, TasksCancelFilters>
pub fn new(client: &'a Client) -> TasksQuery<'a, TasksCancelFilters>
pub async fn execute(&'a self) -> Result<TaskInfo, Error>
source§impl<'a> TasksQuery<'a, TasksDeleteFilters>
impl<'a> TasksQuery<'a, TasksDeleteFilters>
pub fn new(client: &'a Client) -> TasksQuery<'a, TasksDeleteFilters>
pub async fn execute(&'a self) -> Result<TaskInfo, Error>
source§impl<'a> TasksQuery<'a, TasksPaginationFilters>
impl<'a> TasksQuery<'a, TasksPaginationFilters>
pub fn new(client: &'a Client) -> TasksQuery<'a, TasksPaginationFilters>
pub fn with_limit<'b>(
&'b mut self,
limit: u32
) -> &'b mut TasksQuery<'a, TasksPaginationFilters>
pub fn with_from<'b>(
&'b mut self,
from: u32
) -> &'b mut TasksQuery<'a, TasksPaginationFilters>
pub async fn execute(&'a self) -> Result<TasksResults, Error>
Trait Implementations§
source§impl<'a, T: Clone> Clone for TasksQuery<'a, T>
impl<'a, T: Clone> Clone for TasksQuery<'a, T>
source§fn clone(&self) -> TasksQuery<'a, T>
fn clone(&self) -> TasksQuery<'a, T>
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 more