pub struct RunResult {
pub started_at: DateTime<Utc>,
pub finished_at: DateTime<Utc>,
pub success: bool,
pub turns: usize,
pub cost_usd: f64,
pub summary: String,
pub session_id: String,
}Expand description
Result of one execution.
Fields§
§started_at: DateTime<Utc>§finished_at: DateTime<Utc>§success: bool§turns: usize§cost_usd: f64§summary: StringFirst 500 chars of the response.
session_id: StringSession ID for /resume.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunResult
impl<'de> Deserialize<'de> for RunResult
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 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