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

pub struct WorkflowExecutionContinuedAsNewEventAttributes {
Show fields pub new_execution_run_id: String, pub workflow_type: Option<WorkflowType>, pub task_queue: Option<TaskQueue>, pub input: Option<Payloads>, pub workflow_run_timeout: Option<Duration>, pub workflow_task_timeout: Option<Duration>, pub workflow_task_completed_event_id: i64, pub backoff_start_interval: Option<Duration>, pub initiator: i32, pub failure: Option<Failure>, pub last_completion_result: Option<Payloads>, pub header: Option<Header>, pub memo: Option<Memo>, pub search_attributes: Option<SearchAttributes>,
}

Fields

new_execution_run_id: Stringworkflow_type: Option<WorkflowType>task_queue: Option<TaskQueue>input: Option<Payloads>workflow_run_timeout: Option<Duration>

workflow_execution_timeout is omitted as it shouldn’be overridden from within a workflow. Timeout of a single workflow run.

workflow_task_timeout: Option<Duration>

Timeout of a single workflow task.

workflow_task_completed_event_id: i64backoff_start_interval: Option<Duration>initiator: i32failure: Option<Failure>last_completion_result: Option<Payloads>header: Option<Header>memo: Option<Memo>search_attributes: Option<SearchAttributes>

Implementations

impl WorkflowExecutionContinuedAsNewEventAttributes[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 WorkflowExecutionContinuedAsNewEventAttributes[src]

impl Debug for WorkflowExecutionContinuedAsNewEventAttributes[src]

impl Default for WorkflowExecutionContinuedAsNewEventAttributes[src]

impl From<WorkflowExecutionContinuedAsNewEventAttributes> for Attributes[src]

impl Message for WorkflowExecutionContinuedAsNewEventAttributes[src]

impl PartialEq<WorkflowExecutionContinuedAsNewEventAttributes> for WorkflowExecutionContinuedAsNewEventAttributes[src]

impl StructuralPartialEq for WorkflowExecutionContinuedAsNewEventAttributes[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]