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 duplicate 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>
Source§type Output = Result<Vec<Value>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<Value>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <ListJobsRequest<'a> as IntoFuture>::Output> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <ListJobsRequest<'a> as IntoFuture>::Output> + Send + 'a>>
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> Freeze for ListJobsRequest<'a>
impl<'a> !RefUnwindSafe for ListJobsRequest<'a>
impl<'a> Send for ListJobsRequest<'a>
impl<'a> Sync for ListJobsRequest<'a>
impl<'a> Unpin for ListJobsRequest<'a>
impl<'a> !UnwindSafe for ListJobsRequest<'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