pub struct WorkflowRunSettledData {
pub consumed_nano_aiu: i64,
pub consumed_subagents: i64,
pub elapsed_ms: i64,
pub failure_type: Option<String>,
pub run_id: String,
pub status: WorkflowRunSettledStatus,
}Expand description
Session event “workflow.run_settled”. Ephemeral signal that a workflow run reached a terminal status.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§consumed_nano_aiu: i64AI credits this run consumed, in nano-AIU.
consumed_subagents: i64Subagents this run consumed against its limits.
elapsed_ms: i64Active milliseconds accumulated across every attempt of this run.
failure_type: Option<String>Typed failure class recorded on the run, when it failed with one (e.g. workflow_limit_reached).
run_id: StringIdentifier of the workflow run that settled.
status: WorkflowRunSettledStatusTerminal status the run committed.
Trait Implementations§
Source§impl Clone for WorkflowRunSettledData
impl Clone for WorkflowRunSettledData
Source§impl Debug for WorkflowRunSettledData
impl Debug for WorkflowRunSettledData
Source§impl Default for WorkflowRunSettledData
impl Default for WorkflowRunSettledData
Source§impl<'de> Deserialize<'de> for WorkflowRunSettledData
impl<'de> Deserialize<'de> for WorkflowRunSettledData
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
Auto Trait Implementations§
impl Freeze for WorkflowRunSettledData
impl RefUnwindSafe for WorkflowRunSettledData
impl Send for WorkflowRunSettledData
impl Sync for WorkflowRunSettledData
impl Unpin for WorkflowRunSettledData
impl UnsafeUnpin for WorkflowRunSettledData
impl UnwindSafe for WorkflowRunSettledData
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