pub struct StepInstance {Show 15 fields
pub id: StepInstanceId,
pub run_id: RunId,
pub step_name: String,
pub step_type: String,
pub status: StepStatus,
pub iteration_index: Option<i32>,
pub runner_id: Option<String>,
pub affinity_context: Option<String>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub exit_code: Option<i32>,
pub error: Option<String>,
pub spec: Value,
pub params: Value,
pub created_at: DateTime<Utc>,
}Expand description
Represents the execution instance of a specific step in a workflow.
Fields§
§id: StepInstanceIdUnique identifier for this execution of the step.
run_id: RunIdAssociated workflow run ID.
step_name: StringThe name assigned to the step in the workflow definition.
step_type: StringThe type of step (e.g., ‘docker’, ‘wasm’, ‘approval’).
status: StepStatusCurrent execution status of the step.
iteration_index: Option<i32>The loop index if this step is part of an iteration.
runner_id: Option<String>Identifier of the runner executing this step, if assigned.
affinity_context: Option<String>The affinity context key used to group steps on the same runner.
started_at: Option<DateTime<Utc>>Timestamp when the step began executing.
finished_at: Option<DateTime<Utc>>Timestamp when the step finished executing.
exit_code: Option<i32>The system exit code returned by the step execution, if applicable.
error: Option<String>Optional error message if the step failed.
spec: ValueThe raw DSL specification block for this step.
params: ValueThe resolved parameters passed to the step runner.
created_at: DateTime<Utc>Timestamp when the step instance was created.
Trait Implementations§
Source§impl Clone for StepInstance
impl Clone for StepInstance
Source§fn clone(&self) -> StepInstance
fn clone(&self) -> StepInstance
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ComposeSchema for StepInstance
impl ComposeSchema for StepInstance
Source§impl Debug for StepInstance
impl Debug for StepInstance
Source§impl<'de> Deserialize<'de> for StepInstance
impl<'de> Deserialize<'de> for StepInstance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl<'a, R: Row> FromRow<'a, R> for StepInstancewhere
&'a str: ColumnIndex<R>,
StepInstanceId: Decode<'a, R::Database> + Type<R::Database>,
RunId: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
StepStatus: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Value: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for StepInstancewhere
&'a str: ColumnIndex<R>,
StepInstanceId: Decode<'a, R::Database> + Type<R::Database>,
RunId: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
StepStatus: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Value: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
Source§impl Serialize for StepInstance
impl Serialize for StepInstance
Auto Trait Implementations§
impl Freeze for StepInstance
impl RefUnwindSafe for StepInstance
impl Send for StepInstance
impl Sync for StepInstance
impl Unpin for StepInstance
impl UnsafeUnpin for StepInstance
impl UnwindSafe for StepInstance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more