pub struct PartialStreamToolCall {
pub id: Option<String>,
pub function_name: Option<String>,
pub arguments: String,
pub thought_signature: Option<String>,
}Expand description
Partial tool call accumulated from crate::traits::StreamChunk::ToolCallDelta events.
Fields§
§id: Option<String>§function_name: Option<String>§arguments: String§thought_signature: Option<String>Trait Implementations§
Source§impl Clone for PartialStreamToolCall
impl Clone for PartialStreamToolCall
Source§fn clone(&self) -> PartialStreamToolCall
fn clone(&self) -> PartialStreamToolCall
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 PartialStreamToolCall
impl Debug for PartialStreamToolCall
Source§impl Default for PartialStreamToolCall
impl Default for PartialStreamToolCall
Source§fn default() -> PartialStreamToolCall
fn default() -> PartialStreamToolCall
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PartialStreamToolCall
impl RefUnwindSafe for PartialStreamToolCall
impl Send for PartialStreamToolCall
impl Sync for PartialStreamToolCall
impl Unpin for PartialStreamToolCall
impl UnsafeUnpin for PartialStreamToolCall
impl UnwindSafe for PartialStreamToolCall
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