pub enum ToolCallOutput {
Value(Value),
Stream(ToolCallStream),
}Expand description
Output produced by a tool invocation.
Variants§
Value(Value)
Stream(ToolCallStream)
Trait Implementations§
Source§impl Clone for ToolCallOutput
impl Clone for ToolCallOutput
Source§fn clone(&self) -> ToolCallOutput
fn clone(&self) -> ToolCallOutput
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolCallOutput
impl Debug for ToolCallOutput
Source§impl PartialEq for ToolCallOutput
impl PartialEq for ToolCallOutput
impl StructuralPartialEq for ToolCallOutput
Auto Trait Implementations§
impl Freeze for ToolCallOutput
impl RefUnwindSafe for ToolCallOutput
impl Send for ToolCallOutput
impl Sync for ToolCallOutput
impl Unpin for ToolCallOutput
impl UnsafeUnpin for ToolCallOutput
impl UnwindSafe for ToolCallOutput
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