#[non_exhaustive]pub struct PollForTaskOutputBuilder { /* private fields */ }
Expand description
A builder for PollForTaskOutput
.
Implementations§
source§impl PollForTaskOutputBuilder
impl PollForTaskOutputBuilder
sourcepub fn task_object(self, input: TaskObject) -> Self
pub fn task_object(self, input: TaskObject) -> Self
The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is taskId
, which contains an identifier for the task being assigned. The calling task runner uses taskId
in subsequent calls to ReportTaskProgress
and SetTaskStatus
.
sourcepub fn set_task_object(self, input: Option<TaskObject>) -> Self
pub fn set_task_object(self, input: Option<TaskObject>) -> Self
The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is taskId
, which contains an identifier for the task being assigned. The calling task runner uses taskId
in subsequent calls to ReportTaskProgress
and SetTaskStatus
.
sourcepub fn get_task_object(&self) -> &Option<TaskObject>
pub fn get_task_object(&self) -> &Option<TaskObject>
The information needed to complete the task that is being assigned to the task runner. One of the fields returned in this object is taskId
, which contains an identifier for the task being assigned. The calling task runner uses taskId
in subsequent calls to ReportTaskProgress
and SetTaskStatus
.
sourcepub fn build(self) -> PollForTaskOutput
pub fn build(self) -> PollForTaskOutput
Consumes the builder and constructs a PollForTaskOutput
.
Trait Implementations§
source§impl Clone for PollForTaskOutputBuilder
impl Clone for PollForTaskOutputBuilder
source§fn clone(&self) -> PollForTaskOutputBuilder
fn clone(&self) -> PollForTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PollForTaskOutputBuilder
impl Debug for PollForTaskOutputBuilder
source§impl Default for PollForTaskOutputBuilder
impl Default for PollForTaskOutputBuilder
source§fn default() -> PollForTaskOutputBuilder
fn default() -> PollForTaskOutputBuilder
source§impl PartialEq for PollForTaskOutputBuilder
impl PartialEq for PollForTaskOutputBuilder
source§fn eq(&self, other: &PollForTaskOutputBuilder) -> bool
fn eq(&self, other: &PollForTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.