pub struct TurnOutput {
pub events: Vec<AgentEvent>,
pub response: Option<String>,
pub tool_calls: Vec<ToolCallOutput>,
pub usage: Option<Usage>,
pub result: Option<TurnResult>,
}Fields§
§events: Vec<AgentEvent>§response: Option<String>§tool_calls: Vec<ToolCallOutput>Tool calls made by the model, in call order.
usage: Option<Usage>§result: Option<TurnResult>Trait Implementations§
Source§impl Clone for TurnOutput
impl Clone for TurnOutput
Source§fn clone(&self) -> TurnOutput
fn clone(&self) -> TurnOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TurnOutput
impl RefUnwindSafe for TurnOutput
impl Send for TurnOutput
impl Sync for TurnOutput
impl Unpin for TurnOutput
impl UnsafeUnpin for TurnOutput
impl UnwindSafe for TurnOutput
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