[][src]Struct rusoto_swf::DecisionTask

pub struct DecisionTask {
    pub events: Vec<HistoryEvent>,
    pub next_page_token: Option<String>,
    pub previous_started_event_id: Option<i64>,
    pub started_event_id: i64,
    pub task_token: String,
    pub workflow_execution: WorkflowExecution,
    pub workflow_type: WorkflowType,
}

A structure that represents a decision task. Decision tasks are sent to deciders in order for them to make decisions.

Fields

events: Vec<HistoryEvent>

A paginated list of history events of the workflow execution. The decider uses this during the processing of the decision task.

next_page_token: Option<String>

If a NextPageToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in nextPageToken. Keep all other arguments unchanged.

The configured maximumPageSize determines how many results can be returned in a single call.

previous_started_event_id: Option<i64>

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

started_event_id: i64

The ID of the DecisionTaskStarted event recorded in the history.

task_token: String

The opaque string used as a handle on the task. This token is used by workers to communicate progress and response information back to the system about the task.

workflow_execution: WorkflowExecution

The workflow execution for which this decision task was created.

workflow_type: WorkflowType

The type of the workflow execution for which this decision task was created.

Trait Implementations

impl PartialEq<DecisionTask> for DecisionTask[src]

impl Default for DecisionTask[src]

impl Clone for DecisionTask[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DecisionTask[src]

impl<'de> Deserialize<'de> for DecisionTask[src]

Auto Trait Implementations

impl Send for DecisionTask

impl Sync for DecisionTask

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self