pub struct FactoryRunSettledData {
pub consumed_nano_aiu: i64,
pub consumed_subagents: i64,
pub elapsed_ms: i64,
pub failure_type: Option<String>,
pub run_id: String,
pub status: FactoryRunSettledStatus,
}Expand description
Session event “factory.run_settled”. Ephemeral signal that a factory 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. factory_limit_reached).
run_id: StringIdentifier of the factory run that settled.
status: FactoryRunSettledStatusTerminal status the run committed.
Trait Implementations§
Source§impl Clone for FactoryRunSettledData
impl Clone for FactoryRunSettledData
Source§fn clone(&self) -> FactoryRunSettledData
fn clone(&self) -> FactoryRunSettledData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FactoryRunSettledData
impl Debug for FactoryRunSettledData
Source§impl Default for FactoryRunSettledData
impl Default for FactoryRunSettledData
Source§fn default() -> FactoryRunSettledData
fn default() -> FactoryRunSettledData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FactoryRunSettledData
impl<'de> Deserialize<'de> for FactoryRunSettledData
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 FactoryRunSettledData
impl RefUnwindSafe for FactoryRunSettledData
impl Send for FactoryRunSettledData
impl Sync for FactoryRunSettledData
impl Unpin for FactoryRunSettledData
impl UnsafeUnpin for FactoryRunSettledData
impl UnwindSafe for FactoryRunSettledData
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