Struct jyve::request::tasks_list::TasksListRequest
source · pub struct TasksListRequest<'a> {Show 25 fields
pub brand: Option<f64>,
pub client: Option<String>,
pub client_slug: Option<String>,
pub completed_after: Option<String>,
pub completed_before: Option<String>,
pub id: Option<f64>,
pub ids: Option<String>,
pub job: Option<String>,
pub job_completed_after: Option<String>,
pub job_completed_after_gt: Option<String>,
pub job_completed_after_gte: Option<String>,
pub job_completed_before: Option<String>,
pub job_completed_before_lt: Option<String>,
pub job_completed_before_lte: Option<String>,
pub jobs: Option<String>,
pub page: Option<i64>,
pub page_size: Option<i64>,
pub status: Option<String>,
pub store_chain: Option<f64>,
pub store_chains: Option<String>,
pub store_location: Option<f64>,
pub store_locations: Option<String>,
pub type_: Option<String>,
pub types: Option<String>,
pub user: Option<f64>,
/* private fields */
}
Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§brand: Option<f64>
§client: Option<String>
§client_slug: Option<String>
§completed_after: Option<String>
§completed_before: Option<String>
§id: Option<f64>
§ids: Option<String>
§job: Option<String>
§job_completed_after: Option<String>
§job_completed_after_gt: Option<String>
§job_completed_after_gte: Option<String>
§job_completed_before: Option<String>
§job_completed_before_lt: Option<String>
§job_completed_before_lte: Option<String>
§jobs: Option<String>
§page: Option<i64>
§page_size: Option<i64>
§status: Option<String>
§store_chain: Option<f64>
§store_chains: Option<String>
§store_location: Option<f64>
§store_locations: Option<String>
§type_: Option<String>
§types: Option<String>
§user: Option<f64>
Implementations§
source§impl<'a> TasksListRequest<'a>
impl<'a> TasksListRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<Task>>
pub fn brand(self, brand: f64) -> Self
pub fn client(self, client: &str) -> Self
pub fn client_slug(self, client_slug: &str) -> Self
pub fn completed_after(self, completed_after: &str) -> Self
pub fn completed_before(self, completed_before: &str) -> Self
pub fn id(self, id: f64) -> Self
pub fn ids(self, ids: &str) -> Self
pub fn job(self, job: &str) -> Self
pub fn job_completed_after(self, job_completed_after: &str) -> Self
pub fn job_completed_after_gt(self, job_completed_after_gt: &str) -> Self
pub fn job_completed_after_gte(self, job_completed_after_gte: &str) -> Self
pub fn job_completed_before(self, job_completed_before: &str) -> Self
pub fn job_completed_before_lt(self, job_completed_before_lt: &str) -> Self
pub fn job_completed_before_lte(self, job_completed_before_lte: &str) -> Self
pub fn jobs(self, jobs: &str) -> Self
pub fn page(self, page: i64) -> Self
pub fn page_size(self, page_size: i64) -> Self
pub fn status(self, status: &str) -> Self
pub fn store_chain(self, store_chain: f64) -> Self
pub fn store_chains(self, store_chains: &str) -> Self
pub fn store_location(self, store_location: f64) -> Self
pub fn store_locations(self, store_locations: &str) -> Self
pub fn type_(self, type_: &str) -> Self
pub fn types(self, types: &str) -> Self
pub fn user(self, user: f64) -> Self
Trait Implementations§
source§impl<'a> Clone for TasksListRequest<'a>
impl<'a> Clone for TasksListRequest<'a>
source§fn clone(&self) -> TasksListRequest<'a>
fn clone(&self) -> TasksListRequest<'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> IntoFuture for TasksListRequest<'a>
impl<'a> IntoFuture for TasksListRequest<'a>
§type Output = Result<Vec<Task, Global>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<Task, Global>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <TasksListRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <TasksListRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TasksListRequest<'a>
impl<'a> Send for TasksListRequest<'a>
impl<'a> Sync for TasksListRequest<'a>
impl<'a> Unpin for TasksListRequest<'a>
impl<'a> !UnwindSafe for TasksListRequest<'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