Struct HistoryEvent

Source
pub struct HistoryEvent {
Show 36 fields 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 execution_aborted_event_details: Option<ExecutionAbortedEventDetails>, pub execution_failed_event_details: Option<ExecutionFailedEventDetails>, pub execution_started_event_details: Option<ExecutionStartedEventDetails>, pub execution_succeeded_event_details: Option<ExecutionSucceededEventDetails>, pub execution_timed_out_event_details: Option<ExecutionTimedOutEventDetails>, pub id: i64, 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 map_iteration_aborted_event_details: Option<MapIterationEventDetails>, pub map_iteration_failed_event_details: Option<MapIterationEventDetails>, pub map_iteration_started_event_details: Option<MapIterationEventDetails>, pub map_iteration_succeeded_event_details: Option<MapIterationEventDetails>, pub map_state_started_event_details: Option<MapStateStartedEventDetails>, pub previous_event_id: Option<i64>, pub state_entered_event_details: Option<StateEnteredEventDetails>, pub state_exited_event_details: Option<StateExitedEventDetails>, 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 timestamp: f64, pub type_: String,
}
Expand description

Contains details about the events of an execution.

Fields§

§activity_failed_event_details: Option<ActivityFailedEventDetails>§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>§activity_started_event_details: Option<ActivityStartedEventDetails>§activity_succeeded_event_details: Option<ActivitySucceededEventDetails>§activity_timed_out_event_details: Option<ActivityTimedOutEventDetails>§execution_aborted_event_details: Option<ExecutionAbortedEventDetails>§execution_failed_event_details: Option<ExecutionFailedEventDetails>§execution_started_event_details: Option<ExecutionStartedEventDetails>§execution_succeeded_event_details: Option<ExecutionSucceededEventDetails>§execution_timed_out_event_details: Option<ExecutionTimedOutEventDetails>§id: i64

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

§lambda_function_failed_event_details: Option<LambdaFunctionFailedEventDetails>§lambda_function_schedule_failed_event_details: Option<LambdaFunctionScheduleFailedEventDetails>§lambda_function_scheduled_event_details: Option<LambdaFunctionScheduledEventDetails>§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>§map_iteration_aborted_event_details: Option<MapIterationEventDetails>

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

§map_iteration_failed_event_details: Option<MapIterationEventDetails>

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

§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_state_started_event_details: Option<MapStateStartedEventDetails>

Contains details about Map state that was started.

§previous_event_id: Option<i64>

The id of the previous event.

§state_entered_event_details: Option<StateEnteredEventDetails>§state_exited_event_details: Option<StateExitedEventDetails>§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.

§timestamp: f64

The date and time the event occurred.

§type_: String

The type of the event.

Trait Implementations§

Source§

impl Clone for HistoryEvent

Source§

fn clone(&self) -> HistoryEvent

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HistoryEvent

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for HistoryEvent

Source§

fn default() -> HistoryEvent

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for HistoryEvent

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for HistoryEvent

Source§

fn eq(&self, other: &HistoryEvent) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for HistoryEvent

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

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

fn with_current_subscriber(self) -> WithDispatch<Self>

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

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