#[non_exhaustive]
pub struct HistoryEvent {
Show 36 fields pub timestamp: Option<DateTime>, pub type: Option<HistoryEventType>, pub id: i64, pub previous_event_id: i64, pub activity_failed_event_details: Option<ActivityFailedEventDetails>, pub activity_schedule_failed_event_details: Option<ActivityScheduleFailedEventDetails>, pub activity_scheduled_event_details: Option<ActivityScheduledEventDetails>, pub activity_started_event_details: Option<ActivityStartedEventDetails>, pub activity_succeeded_event_details: Option<ActivitySucceededEventDetails>, pub activity_timed_out_event_details: Option<ActivityTimedOutEventDetails>, pub task_failed_event_details: Option<TaskFailedEventDetails>, pub task_scheduled_event_details: Option<TaskScheduledEventDetails>, pub task_start_failed_event_details: Option<TaskStartFailedEventDetails>, pub task_started_event_details: Option<TaskStartedEventDetails>, pub task_submit_failed_event_details: Option<TaskSubmitFailedEventDetails>, pub task_submitted_event_details: Option<TaskSubmittedEventDetails>, pub task_succeeded_event_details: Option<TaskSucceededEventDetails>, pub task_timed_out_event_details: Option<TaskTimedOutEventDetails>, pub execution_failed_event_details: Option<ExecutionFailedEventDetails>, pub execution_started_event_details: Option<ExecutionStartedEventDetails>, pub execution_succeeded_event_details: Option<ExecutionSucceededEventDetails>, pub execution_aborted_event_details: Option<ExecutionAbortedEventDetails>, pub execution_timed_out_event_details: Option<ExecutionTimedOutEventDetails>, pub map_state_started_event_details: Option<MapStateStartedEventDetails>, pub map_iteration_started_event_details: Option<MapIterationEventDetails>, pub map_iteration_succeeded_event_details: Option<MapIterationEventDetails>, pub map_iteration_failed_event_details: Option<MapIterationEventDetails>, pub map_iteration_aborted_event_details: Option<MapIterationEventDetails>, pub lambda_function_failed_event_details: Option<LambdaFunctionFailedEventDetails>, pub lambda_function_schedule_failed_event_details: Option<LambdaFunctionScheduleFailedEventDetails>, pub lambda_function_scheduled_event_details: Option<LambdaFunctionScheduledEventDetails>, pub lambda_function_start_failed_event_details: Option<LambdaFunctionStartFailedEventDetails>, pub lambda_function_succeeded_event_details: Option<LambdaFunctionSucceededEventDetails>, pub lambda_function_timed_out_event_details: Option<LambdaFunctionTimedOutEventDetails>, pub state_entered_event_details: Option<StateEnteredEventDetails>, pub state_exited_event_details: Option<StateExitedEventDetails>,
}
Expand description

Contains details about the events of an execution.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
timestamp: Option<DateTime>

The date and time the event occurred.

type: Option<HistoryEventType>

The type of the event.

id: i64

The id of the event. Events are numbered sequentially, starting at one.

previous_event_id: i64

The id of the previous event.

activity_failed_event_details: Option<ActivityFailedEventDetails>

Contains details about an activity that failed during an execution.

activity_schedule_failed_event_details: Option<ActivityScheduleFailedEventDetails>

Contains details about an activity schedule event that failed during an execution.

activity_scheduled_event_details: Option<ActivityScheduledEventDetails>

Contains details about an activity scheduled during an execution.

activity_started_event_details: Option<ActivityStartedEventDetails>

Contains details about the start of an activity during an execution.

activity_succeeded_event_details: Option<ActivitySucceededEventDetails>

Contains details about an activity that successfully terminated during an execution.

activity_timed_out_event_details: Option<ActivityTimedOutEventDetails>

Contains details about an activity timeout that occurred during an execution.

task_failed_event_details: Option<TaskFailedEventDetails>

Contains details about the failure of a task.

task_scheduled_event_details: Option<TaskScheduledEventDetails>

Contains details about a task that was scheduled.

task_start_failed_event_details: Option<TaskStartFailedEventDetails>

Contains details about a task that failed to start.

task_started_event_details: Option<TaskStartedEventDetails>

Contains details about a task that was started.

task_submit_failed_event_details: Option<TaskSubmitFailedEventDetails>

Contains details about a task that where the submit failed.

task_submitted_event_details: Option<TaskSubmittedEventDetails>

Contains details about a submitted task.

task_succeeded_event_details: Option<TaskSucceededEventDetails>

Contains details about a task that succeeded.

task_timed_out_event_details: Option<TaskTimedOutEventDetails>

Contains details about a task that timed out.

execution_failed_event_details: Option<ExecutionFailedEventDetails>

Contains details about an execution failure event.

execution_started_event_details: Option<ExecutionStartedEventDetails>

Contains details about the start of the execution.

execution_succeeded_event_details: Option<ExecutionSucceededEventDetails>

Contains details about the successful termination of the execution.

execution_aborted_event_details: Option<ExecutionAbortedEventDetails>

Contains details about an abort of an execution.

execution_timed_out_event_details: Option<ExecutionTimedOutEventDetails>

Contains details about the execution timeout that occurred during the execution.

map_state_started_event_details: Option<MapStateStartedEventDetails>

Contains details about Map state that was started.

map_iteration_started_event_details: Option<MapIterationEventDetails>

Contains details about an iteration of a Map state that was started.

map_iteration_succeeded_event_details: Option<MapIterationEventDetails>

Contains details about an iteration of a Map state that succeeded.

map_iteration_failed_event_details: Option<MapIterationEventDetails>

Contains details about an iteration of a Map state that failed.

map_iteration_aborted_event_details: Option<MapIterationEventDetails>

Contains details about an iteration of a Map state that was aborted.

lambda_function_failed_event_details: Option<LambdaFunctionFailedEventDetails>

Contains details about a lambda function that failed during an execution.

lambda_function_schedule_failed_event_details: Option<LambdaFunctionScheduleFailedEventDetails>

Contains details about a failed lambda function schedule event that occurred during an execution.

lambda_function_scheduled_event_details: Option<LambdaFunctionScheduledEventDetails>

Contains details about a lambda function scheduled during an execution.

lambda_function_start_failed_event_details: Option<LambdaFunctionStartFailedEventDetails>

Contains details about a lambda function that failed to start during an execution.

lambda_function_succeeded_event_details: Option<LambdaFunctionSucceededEventDetails>

Contains details about a lambda function that terminated successfully during an execution.

lambda_function_timed_out_event_details: Option<LambdaFunctionTimedOutEventDetails>

Contains details about a lambda function timeout that occurred during an execution.

state_entered_event_details: Option<StateEnteredEventDetails>

Contains details about a state entered during an execution.

state_exited_event_details: Option<StateExitedEventDetails>

Contains details about an exit from a state during an execution.

Implementations

The date and time the event occurred.

The type of the event.

The id of the event. Events are numbered sequentially, starting at one.

The id of the previous event.

Contains details about an activity that failed during an execution.

Contains details about an activity schedule event that failed during an execution.

Contains details about an activity scheduled during an execution.

Contains details about the start of an activity during an execution.

Contains details about an activity that successfully terminated during an execution.

Contains details about an activity timeout that occurred during an execution.

Contains details about the failure of a task.

Contains details about a task that was scheduled.

Contains details about a task that failed to start.

Contains details about a task that was started.

Contains details about a task that where the submit failed.

Contains details about a submitted task.

Contains details about a task that succeeded.

Contains details about a task that timed out.

Contains details about an execution failure event.

Contains details about the start of the execution.

Contains details about the successful termination of the execution.

Contains details about an abort of an execution.

Contains details about the execution timeout that occurred during the execution.

Contains details about Map state that was started.

Contains details about an iteration of a Map state that was started.

Contains details about an iteration of a Map state that succeeded.

Contains details about an iteration of a Map state that failed.

Contains details about an iteration of a Map state that was aborted.

Contains details about a lambda function that failed during an execution.

Contains details about a failed lambda function schedule event that occurred during an execution.

Contains details about a lambda function scheduled during an execution.

Contains details about a lambda function that failed to start during an execution.

Contains details about a lambda function that terminated successfully during an execution.

Contains details about a lambda function timeout that occurred during an execution.

Contains details about a state entered during an execution.

Contains details about an exit from a state during an execution.

Creates a new builder-style object to manufacture HistoryEvent

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more