pub struct PollActivityTaskResponse {
pub task: Option<ActivityTask>,
pub poll_status: Option<String>,
pub reason: Option<String>,
}Fields§
§task: Option<ActivityTask>§poll_status: Option<String>§reason: Option<String>Implementations§
Source§impl PollActivityTaskResponse
impl PollActivityTaskResponse
Sourcepub fn outcome(&self) -> WorkerPollOutcome
pub fn outcome(&self) -> WorkerPollOutcome
Classify this response without parsing server display text.
Trait Implementations§
Source§impl Clone for PollActivityTaskResponse
impl Clone for PollActivityTaskResponse
Source§fn clone(&self) -> PollActivityTaskResponse
fn clone(&self) -> PollActivityTaskResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PollActivityTaskResponse
impl Debug for PollActivityTaskResponse
Source§impl<'de> Deserialize<'de> for PollActivityTaskResponse
impl<'de> Deserialize<'de> for PollActivityTaskResponse
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
Auto Trait Implementations§
impl Freeze for PollActivityTaskResponse
impl RefUnwindSafe for PollActivityTaskResponse
impl Send for PollActivityTaskResponse
impl Sync for PollActivityTaskResponse
impl Unpin for PollActivityTaskResponse
impl UnsafeUnpin for PollActivityTaskResponse
impl UnwindSafe for PollActivityTaskResponse
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