pub struct ToolCallLoopTurn<'a> {
pub tool_calls: &'a [ToolCallRef],
pub tool_results: &'a [ToolResultRef],
}Expand description
One completed assistant turn for the guard to evaluate.
Fields§
§tool_calls: &'a [ToolCallRef]Tool calls in the assistant message. Only single-call turns are considered for repetition — multi-call turns reset detection.
tool_results: &'a [ToolResultRef]Results returned for the call with matching tool_call_id, in
any order. Empty if none (the call is still in flight).
Trait Implementations§
Source§impl<'a> Clone for ToolCallLoopTurn<'a>
impl<'a> Clone for ToolCallLoopTurn<'a>
Source§fn clone(&self) -> ToolCallLoopTurn<'a>
fn clone(&self) -> ToolCallLoopTurn<'a>
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<'a> Freeze for ToolCallLoopTurn<'a>
impl<'a> RefUnwindSafe for ToolCallLoopTurn<'a>
impl<'a> Send for ToolCallLoopTurn<'a>
impl<'a> Sync for ToolCallLoopTurn<'a>
impl<'a> Unpin for ToolCallLoopTurn<'a>
impl<'a> UnsafeUnpin for ToolCallLoopTurn<'a>
impl<'a> UnwindSafe for ToolCallLoopTurn<'a>
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