pub struct CodeExecutionExchange {
pub call_id: Option<String>,
pub calls: Vec<CodeExecutionCallContent>,
pub results: Vec<CodeExecutionResultContent>,
}Expand description
Groups code execution tool calls and results for a single interaction.
Fields§
§call_id: Option<String>Call identifier used to match calls to results.
calls: Vec<CodeExecutionCallContent>One or more code execution tool calls.
results: Vec<CodeExecutionResultContent>One or more code execution tool results.
Implementations§
Trait Implementations§
Source§impl Clone for CodeExecutionExchange
impl Clone for CodeExecutionExchange
Source§fn clone(&self) -> CodeExecutionExchange
fn clone(&self) -> CodeExecutionExchange
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 moreSource§impl Debug for CodeExecutionExchange
impl Debug for CodeExecutionExchange
Source§impl Default for CodeExecutionExchange
impl Default for CodeExecutionExchange
Source§fn default() -> CodeExecutionExchange
fn default() -> CodeExecutionExchange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodeExecutionExchange
impl RefUnwindSafe for CodeExecutionExchange
impl Send for CodeExecutionExchange
impl Sync for CodeExecutionExchange
impl Unpin for CodeExecutionExchange
impl UnsafeUnpin for CodeExecutionExchange
impl UnwindSafe for CodeExecutionExchange
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