pub struct RunOutput {
pub run_id: RunId,
pub session_id: String,
pub iterations: usize,
pub finish_reason: FinishReason,
pub total_usage: TokenUsage,
pub final_message: Option<Message>,
}Expand description
Output from a completed run.
Fields§
§run_id: RunIdThe run identifier.
session_id: StringThe session identifier.
iterations: usizeNumber of model-calling iterations completed.
finish_reason: FinishReasonWhy the run finished.
total_usage: TokenUsageTotal token usage across all model calls.
final_message: Option<Message>The final assistant message.
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