pub struct ChoiceDeltaToolCallFunction {
pub arguments: Option<String>,
pub name: Option<String>,
}
Fields§
§arguments: Option<String>
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
name: Option<String>
The name of the function to call.
Trait Implementations§
Source§impl Clone for ChoiceDeltaToolCallFunction
impl Clone for ChoiceDeltaToolCallFunction
Source§fn clone(&self) -> ChoiceDeltaToolCallFunction
fn clone(&self) -> ChoiceDeltaToolCallFunction
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 ChoiceDeltaToolCallFunction
impl Debug for ChoiceDeltaToolCallFunction
Source§impl<'de> Deserialize<'de> for ChoiceDeltaToolCallFunction
impl<'de> Deserialize<'de> for ChoiceDeltaToolCallFunction
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 ChoiceDeltaToolCallFunction
impl RefUnwindSafe for ChoiceDeltaToolCallFunction
impl Send for ChoiceDeltaToolCallFunction
impl Sync for ChoiceDeltaToolCallFunction
impl Unpin for ChoiceDeltaToolCallFunction
impl UnwindSafe for ChoiceDeltaToolCallFunction
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