pub struct R3ClientCancelJobAsyncBuilder<'f1, S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with call()
.
Implementations§
Source§impl<'f1, S: State> R3ClientCancelJobAsyncBuilder<'f1, S>
impl<'f1, S: State> R3ClientCancelJobAsyncBuilder<'f1, S>
Sourcepub async fn call(self) -> Result<Response<ResponseData>, Box<dyn Error>>where
S: IsComplete,
pub async fn call(self) -> Result<Response<ResponseData>, Box<dyn Error>>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn job_id(
self,
value: String,
) -> R3ClientCancelJobAsyncBuilder<'f1, SetJobId<S>>where
S::JobId: IsUnset,
pub fn job_id(
self,
value: String,
) -> R3ClientCancelJobAsyncBuilder<'f1, SetJobId<S>>where
S::JobId: IsUnset,
Required.
The ID of the job to cancel.
You get this after starting a job using R3Client::start_job()
.
Auto Trait Implementations§
impl<'f1, S> Freeze for R3ClientCancelJobAsyncBuilder<'f1, S>
impl<'f1, S> RefUnwindSafe for R3ClientCancelJobAsyncBuilder<'f1, S>
impl<'f1, S> Send for R3ClientCancelJobAsyncBuilder<'f1, S>
impl<'f1, S> Sync for R3ClientCancelJobAsyncBuilder<'f1, S>
impl<'f1, S> Unpin for R3ClientCancelJobAsyncBuilder<'f1, S>
impl<'f1, S> UnwindSafe for R3ClientCancelJobAsyncBuilder<'f1, S>
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