Struct temporal_sdk_core::protos::temporal::api::history::v1::WorkflowExecutionStartedEventAttributes[][src]

pub struct WorkflowExecutionStartedEventAttributes {
Show fields pub workflow_type: Option<WorkflowType>, pub parent_workflow_namespace: String, pub parent_workflow_execution: Option<WorkflowExecution>, pub parent_initiated_event_id: i64, pub task_queue: Option<TaskQueue>, pub input: Option<Payloads>, pub workflow_execution_timeout: Option<Duration>, pub workflow_run_timeout: Option<Duration>, pub workflow_task_timeout: Option<Duration>, pub continued_execution_run_id: String, pub initiator: i32, pub continued_failure: Option<Failure>, pub last_completion_result: Option<Payloads>, pub original_execution_run_id: String, pub identity: String, pub first_execution_run_id: String, pub retry_policy: Option<RetryPolicy>, pub attempt: i32, pub workflow_execution_expiration_time: Option<Timestamp>, pub cron_schedule: String, pub first_workflow_task_backoff: Option<Duration>, pub memo: Option<Memo>, pub search_attributes: Option<SearchAttributes>, pub prev_auto_reset_points: Option<ResetPoints>, pub header: Option<Header>,
}

Fields

workflow_type: Option<WorkflowType>parent_workflow_namespace: Stringparent_workflow_execution: Option<WorkflowExecution>parent_initiated_event_id: i64task_queue: Option<TaskQueue>input: Option<Payloads>workflow_execution_timeout: Option<Duration>

Total workflow execution timeout including retries and continue as new.

workflow_run_timeout: Option<Duration>

Timeout of a single workflow run.

workflow_task_timeout: Option<Duration>

Timeout of a single workflow task.

continued_execution_run_id: Stringinitiator: i32continued_failure: Option<Failure>last_completion_result: Option<Payloads>original_execution_run_id: String

This is the runId when the WorkflowExecutionStarted event is written.

identity: Stringfirst_execution_run_id: String

This is the very first runId along the chain of ContinueAsNew and Reset.

retry_policy: Option<RetryPolicy>attempt: i32workflow_execution_expiration_time: Option<Timestamp>

The absolute time at which workflow is timed out. This time is passed without change to the next run/retry of a workflow.

cron_schedule: Stringfirst_workflow_task_backoff: Option<Duration>memo: Option<Memo>search_attributes: Option<SearchAttributes>prev_auto_reset_points: Option<ResetPoints>header: Option<Header>

Implementations

impl WorkflowExecutionStartedEventAttributes[src]

pub fn initiator(&self) -> ContinueAsNewInitiator[src]

Returns the enum value of initiator, or the default if the field is set to an invalid enum value.

pub fn set_initiator(&mut self, value: ContinueAsNewInitiator)[src]

Sets initiator to the provided enum value.

Trait Implementations

impl Clone for WorkflowExecutionStartedEventAttributes[src]

impl Debug for WorkflowExecutionStartedEventAttributes[src]

impl Default for WorkflowExecutionStartedEventAttributes[src]

impl From<WorkflowExecutionStartedEventAttributes> for Attributes[src]

impl Message for WorkflowExecutionStartedEventAttributes[src]

impl PartialEq<WorkflowExecutionStartedEventAttributes> for WorkflowExecutionStartedEventAttributes[src]

impl StructuralPartialEq for WorkflowExecutionStartedEventAttributes[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> FutureExt for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for T[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]