pub struct ChatCompletionFunctionCall {
pub name: String,
pub arguments: String,
}Expand description
表示一个工具函数调用。
Fields§
§name: String工具名称。
arguments: String参数 JSON 字符串。
Trait Implementations§
Source§impl Clone for ChatCompletionFunctionCall
impl Clone for ChatCompletionFunctionCall
Source§fn clone(&self) -> ChatCompletionFunctionCall
fn clone(&self) -> ChatCompletionFunctionCall
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 ChatCompletionFunctionCall
impl Debug for ChatCompletionFunctionCall
Source§impl Default for ChatCompletionFunctionCall
impl Default for ChatCompletionFunctionCall
Source§fn default() -> ChatCompletionFunctionCall
fn default() -> ChatCompletionFunctionCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompletionFunctionCall
impl<'de> Deserialize<'de> for ChatCompletionFunctionCall
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 ChatCompletionFunctionCall
impl RefUnwindSafe for ChatCompletionFunctionCall
impl Send for ChatCompletionFunctionCall
impl Sync for ChatCompletionFunctionCall
impl Unpin for ChatCompletionFunctionCall
impl UnsafeUnpin for ChatCompletionFunctionCall
impl UnwindSafe for ChatCompletionFunctionCall
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