pub struct StepResponse {Show 17 fields
pub id: Uuid,
pub run_id: Uuid,
pub name: String,
pub kind: StepKind,
pub position: u32,
pub status: StepStatus,
pub input: Option<Value>,
pub output: Option<Value>,
pub error: Option<String>,
pub duration_ms: u64,
pub cost_usd: Decimal,
pub input_tokens: Option<u64>,
pub output_tokens: Option<u64>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
Step response DTO — public API representation of a step.
§Examples
use ironflow_store::models::Step;
use ironflow_api::entities::StepResponse;Fields§
§id: UuidUnique step identifier.
run_id: UuidParent run ID.
name: StringStep name.
kind: StepKindStep operation type.
position: u32Execution order (0-based).
status: StepStatusCurrent status.
input: Option<Value>Input configuration.
output: Option<Value>Step output.
error: Option<String>Optional error message.
duration_ms: u64Execution duration in milliseconds.
cost_usd: DecimalCost in USD.
input_tokens: Option<u64>Input token count (agent steps).
output_tokens: Option<u64>Output token count (agent steps).
created_at: DateTime<Utc>When created.
updated_at: DateTime<Utc>When updated.
started_at: Option<DateTime<Utc>>When execution started.
completed_at: Option<DateTime<Utc>>When execution completed.
Trait Implementations§
Source§impl Debug for StepResponse
impl Debug for StepResponse
Source§impl<'de> Deserialize<'de> for StepResponse
impl<'de> Deserialize<'de> for StepResponse
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Step> for StepResponse
impl From<Step> for StepResponse
Auto Trait Implementations§
impl Freeze for StepResponse
impl RefUnwindSafe for StepResponse
impl Send for StepResponse
impl Sync for StepResponse
impl Unpin for StepResponse
impl UnsafeUnpin for StepResponse
impl UnwindSafe for StepResponse
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
Mutably borrows from an owned value. Read more