Struct jyve::request::job_templates_list::JobTemplatesListRequest
source · pub struct JobTemplatesListRequest<'a> {
pub brand_public_id: Option<String>,
pub is_archived: Option<String>,
pub page: Option<i64>,
pub page_size: Option<i64>,
pub q: Option<String>,
pub with_jobs_completed_on_gte: Option<String>,
pub with_jobs_completed_on_lte: Option<String>,
pub with_jobs_starting_on_gte: Option<String>,
pub with_jobs_starting_on_lte: Option<String>,
/* 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_public_id: Option<String>
§is_archived: Option<String>
§page: Option<i64>
§page_size: Option<i64>
§q: Option<String>
§with_jobs_completed_on_gte: Option<String>
§with_jobs_completed_on_lte: Option<String>
§with_jobs_starting_on_gte: Option<String>
§with_jobs_starting_on_lte: Option<String>
Implementations§
source§impl<'a> JobTemplatesListRequest<'a>
impl<'a> JobTemplatesListRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<BasicJobTemplate>>
pub fn brand_public_id(self, brand_public_id: &str) -> Self
pub fn is_archived(self, is_archived: &str) -> Self
pub fn page(self, page: i64) -> Self
pub fn page_size(self, page_size: i64) -> Self
pub fn q(self, q: &str) -> Self
pub fn with_jobs_completed_on_gte( self, with_jobs_completed_on_gte: &str ) -> Self
pub fn with_jobs_completed_on_lte( self, with_jobs_completed_on_lte: &str ) -> Self
pub fn with_jobs_starting_on_gte(self, with_jobs_starting_on_gte: &str) -> Self
pub fn with_jobs_starting_on_lte(self, with_jobs_starting_on_lte: &str) -> Self
Trait Implementations§
source§impl<'a> Clone for JobTemplatesListRequest<'a>
impl<'a> Clone for JobTemplatesListRequest<'a>
source§fn clone(&self) -> JobTemplatesListRequest<'a>
fn clone(&self) -> JobTemplatesListRequest<'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 JobTemplatesListRequest<'a>
impl<'a> IntoFuture for JobTemplatesListRequest<'a>
§type Output = Result<Vec<BasicJobTemplate, Global>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<BasicJobTemplate, Global>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <JobTemplatesListRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <JobTemplatesListRequest<'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 JobTemplatesListRequest<'a>
impl<'a> Send for JobTemplatesListRequest<'a>
impl<'a> Sync for JobTemplatesListRequest<'a>
impl<'a> Unpin for JobTemplatesListRequest<'a>
impl<'a> !UnwindSafe for JobTemplatesListRequest<'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