pub struct JobServiceAsyncClient<T>(/* private fields */);
Expand description
The Job Service is responsible for returning information about jobs for checklist executions.
Implementations§
Source§impl<T> JobServiceAsyncClient<T>where
T: AsyncClient,
impl<T> JobServiceAsyncClient<T>where
T: AsyncClient,
Sourcepub async fn get_job_report(
&self,
auth_: &BearerToken,
job_rid: &JobRid,
) -> Result<JobReport, Error>
pub async fn get_job_report( &self, auth_: &BearerToken, job_rid: &JobRid, ) -> Result<JobReport, Error>
Fetches the job report for a job RID. Throws ResourcesNotFound if no job exists with this job RID.
Sourcepub async fn batch_get_job_reports(
&self,
auth_: &BearerToken,
request: &BatchGetJobReportsRequest,
) -> Result<BatchGetJobReportsResponse, Error>
pub async fn batch_get_job_reports( &self, auth_: &BearerToken, request: &BatchGetJobReportsRequest, ) -> Result<BatchGetJobReportsResponse, Error>
Fetches the job reports for a set of job RIDs. Omits any job reports the user is not permitted to see from the response.
Trait Implementations§
Source§impl<T> AsyncService<T> for JobServiceAsyncClient<T>where
T: AsyncClient,
impl<T> AsyncService<T> for JobServiceAsyncClient<T>where
T: AsyncClient,
Source§impl<T: Clone> Clone for JobServiceAsyncClient<T>
impl<T: Clone> Clone for JobServiceAsyncClient<T>
Source§fn clone(&self) -> JobServiceAsyncClient<T>
fn clone(&self) -> JobServiceAsyncClient<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for JobServiceAsyncClient<T>where
T: Freeze,
impl<T> RefUnwindSafe for JobServiceAsyncClient<T>where
T: RefUnwindSafe,
impl<T> Send for JobServiceAsyncClient<T>where
T: Send,
impl<T> Sync for JobServiceAsyncClient<T>where
T: Sync,
impl<T> Unpin for JobServiceAsyncClient<T>where
T: Unpin,
impl<T> UnwindSafe for JobServiceAsyncClient<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request