pub struct ToolFunctionDelta {
pub name: Option<String>,
pub arguments: Option<String>,
}Expand description
Tool function delta for streaming responses
Fields§
§name: Option<String>Function name (if starting a new call)
arguments: Option<String>Arguments delta (partial JSON string)
Trait Implementations§
Source§impl Clone for ToolFunctionDelta
impl Clone for ToolFunctionDelta
Source§fn clone(&self) -> ToolFunctionDelta
fn clone(&self) -> ToolFunctionDelta
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 ToolFunctionDelta
impl Debug for ToolFunctionDelta
Source§impl<'de> Deserialize<'de> for ToolFunctionDelta
impl<'de> Deserialize<'de> for ToolFunctionDelta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ToolFunctionDelta
impl RefUnwindSafe for ToolFunctionDelta
impl Send for ToolFunctionDelta
impl Sync for ToolFunctionDelta
impl Unpin for ToolFunctionDelta
impl UnwindSafe for ToolFunctionDelta
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