pub struct RunOutput {
pub run_id: RunId,
pub session_id: Uuid,
pub iterations: usize,
pub finish_reason: FinishReason,
pub total_usage: TokenUsage,
}Expand description
Output of a completed agent run.
Fields§
§run_id: RunIdRun identifier.
session_id: UuidSession identifier.
iterations: usizeNumber of model call iterations.
finish_reason: FinishReasonFinal finish reason.
total_usage: TokenUsageAggregated token usage across all iterations.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunOutput
impl RefUnwindSafe for RunOutput
impl Send for RunOutput
impl Sync for RunOutput
impl Unpin for RunOutput
impl UnsafeUnpin for RunOutput
impl UnwindSafe for RunOutput
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