Struct render_api::request::list_jobs::ListJobsRequest
source · pub struct ListJobsRequest<'a> {
pub created_after: Option<String>,
pub created_before: Option<String>,
pub cursor: Option<String>,
pub finished_after: Option<String>,
pub finished_before: Option<String>,
pub limit: Option<String>,
pub service_id: String,
pub started_after: Option<String>,
pub started_before: Option<String>,
pub status: 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§
§created_after: Option<String>§created_before: Option<String>§cursor: Option<String>§finished_after: Option<String>§finished_before: Option<String>§limit: Option<String>§service_id: String§started_after: Option<String>§started_before: Option<String>§status: Option<String>Implementations§
source§impl<'a> ListJobsRequest<'a>
impl<'a> ListJobsRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<Value>>
pub fn created_after(self, created_after: &str) -> Self
pub fn created_before(self, created_before: &str) -> Self
pub fn cursor(self, cursor: &str) -> Self
pub fn finished_after(self, finished_after: &str) -> Self
pub fn finished_before(self, finished_before: &str) -> Self
pub fn limit(self, limit: &str) -> Self
pub fn started_after(self, started_after: &str) -> Self
pub fn started_before(self, started_before: &str) -> Self
pub fn status(self, status: &str) -> Self
Trait Implementations§
source§impl<'a> Clone for ListJobsRequest<'a>
impl<'a> Clone for ListJobsRequest<'a>
source§fn clone(&self) -> ListJobsRequest<'a>
fn clone(&self) -> ListJobsRequest<'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 ListJobsRequest<'a>
impl<'a> IntoFuture for ListJobsRequest<'a>
§type Output = Result<Vec<Value, Global>, Error<InMemoryBody>>
type Output = Result<Vec<Value, Global>, Error<InMemoryBody>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <ListJobsRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <ListJobsRequest<'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