pub struct ToolCallDelta<'a> {
pub tool_call_id: &'a str,
pub internal_call_id: &'a str,
pub tool_name: Option<&'a str>,
pub delta: &'a str,
}Expand description
Streaming tool-call delta.
Fields§
§tool_call_id: &'a strProvider tool-call id.
internal_call_id: &'a strRig correlation id.
tool_name: Option<&'a str>Tool name on the first delta.
delta: &'a strNewly received argument fragment.
Trait Implementations§
Source§impl<'a> Clone for ToolCallDelta<'a>
impl<'a> Clone for ToolCallDelta<'a>
Source§fn clone(&self) -> ToolCallDelta<'a>
fn clone(&self) -> ToolCallDelta<'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 moreimpl<'a> Copy for ToolCallDelta<'a>
Auto Trait Implementations§
impl<'a> Freeze for ToolCallDelta<'a>
impl<'a> RefUnwindSafe for ToolCallDelta<'a>
impl<'a> Send for ToolCallDelta<'a>
impl<'a> Sync for ToolCallDelta<'a>
impl<'a> Unpin for ToolCallDelta<'a>
impl<'a> UnsafeUnpin for ToolCallDelta<'a>
impl<'a> UnwindSafe for ToolCallDelta<'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