pub struct PollForTaskOutput {
pub task_object: Option<TaskObject>,
}
Expand description
Contains the output of PollForTask.
Fields§
§task_object: 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.
Trait Implementations§
Source§impl Clone for PollForTaskOutput
impl Clone for PollForTaskOutput
Source§fn clone(&self) -> PollForTaskOutput
fn clone(&self) -> PollForTaskOutput
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 Debug for PollForTaskOutput
impl Debug for PollForTaskOutput
Source§impl Default for PollForTaskOutput
impl Default for PollForTaskOutput
Source§fn default() -> PollForTaskOutput
fn default() -> PollForTaskOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PollForTaskOutput
impl<'de> Deserialize<'de> for PollForTaskOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PollForTaskOutput
impl PartialEq for PollForTaskOutput
impl StructuralPartialEq for PollForTaskOutput
Auto Trait Implementations§
impl Freeze for PollForTaskOutput
impl RefUnwindSafe for PollForTaskOutput
impl Send for PollForTaskOutput
impl Sync for PollForTaskOutput
impl Unpin for PollForTaskOutput
impl UnwindSafe for PollForTaskOutput
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