pub struct RunOutcome {
pub run_id: String,
pub status: Status,
pub steps: u32,
pub usage: Usage,
pub cost_usd: f64,
pub awaiting_approval: Vec<PendingCall>,
pub structured: Option<Value>,
}Expand description
Result of driving a run until it finishes or needs a human.
Fields§
§run_id: String§status: Status§steps: u32§usage: Usage§cost_usd: f64§awaiting_approval: Vec<PendingCall>§structured: Option<Value>The validated final answer, when the agent has a finish schema.
Implementations§
Trait Implementations§
Source§impl Clone for RunOutcome
impl Clone for RunOutcome
Auto Trait Implementations§
impl Freeze for RunOutcome
impl RefUnwindSafe for RunOutcome
impl Send for RunOutcome
impl Sync for RunOutcome
impl Unpin for RunOutcome
impl UnsafeUnpin for RunOutcome
impl UnwindSafe for RunOutcome
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