pub struct RunResponse {Show 13 fields
pub id: Uuid,
pub workflow_name: String,
pub status: RunStatus,
pub trigger: TriggerKind,
pub error: Option<String>,
pub retry_count: u32,
pub max_retries: u32,
pub cost_usd: Decimal,
pub duration_ms: 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
Fields§
§id: UuidUnique run identifier.
workflow_name: StringWorkflow name.
status: RunStatusCurrent status.
trigger: TriggerKindHow the run was triggered.
error: Option<String>Optional error message.
retry_count: u32Number of times retried.
max_retries: u32Maximum allowed retries.
cost_usd: DecimalAggregated cost in USD.
duration_ms: u64Total duration in milliseconds.
created_at: DateTime<Utc>When created.
updated_at: DateTime<Utc>When last updated.
started_at: Option<DateTime<Utc>>When execution started.
completed_at: Option<DateTime<Utc>>When execution completed.
Trait Implementations§
Source§impl Debug for RunResponse
impl Debug for RunResponse
Source§impl<'de> Deserialize<'de> for RunResponse
impl<'de> Deserialize<'de> for RunResponse
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<Run> for RunResponse
impl From<Run> for RunResponse
Auto Trait Implementations§
impl Freeze for RunResponse
impl RefUnwindSafe for RunResponse
impl Send for RunResponse
impl Sync for RunResponse
impl Unpin for RunResponse
impl UnsafeUnpin for RunResponse
impl UnwindSafe for RunResponse
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