pub struct RunResult {
pub success: bool,
pub exit_code: Option<i32>,
pub output: Option<Value>,
pub cost_usd: f64,
pub steps: u64,
pub latency_s: f64,
pub trace: Value,
pub log: String,
}Expand description
The result of one run.
Fields§
§success: bool§exit_code: Option<i32>§output: Option<Value>§cost_usd: f64§steps: u64§latency_s: f64§trace: Value§log: StringTrait Implementations§
Source§impl Serialize for RunResult
impl Serialize for RunResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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