pub struct ResponseFunctionToolCall {
pub id: String,
pub call_id: Option<String>,
pub name: Option<String>,
pub arguments: String,
pub status: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示函数工具调用输出项。
Fields§
§id: String输出项 ID。
call_id: Option<String>tool call ID。
name: Option<String>工具名称。
arguments: String参数 JSON 字符串。
status: Option<String>状态。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for ResponseFunctionToolCall
impl Clone for ResponseFunctionToolCall
Source§fn clone(&self) -> ResponseFunctionToolCall
fn clone(&self) -> ResponseFunctionToolCall
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 ResponseFunctionToolCall
impl Debug for ResponseFunctionToolCall
Source§impl Default for ResponseFunctionToolCall
impl Default for ResponseFunctionToolCall
Source§fn default() -> ResponseFunctionToolCall
fn default() -> ResponseFunctionToolCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseFunctionToolCall
impl<'de> Deserialize<'de> for ResponseFunctionToolCall
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 ResponseFunctionToolCall
impl RefUnwindSafe for ResponseFunctionToolCall
impl Send for ResponseFunctionToolCall
impl Sync for ResponseFunctionToolCall
impl Unpin for ResponseFunctionToolCall
impl UnsafeUnpin for ResponseFunctionToolCall
impl UnwindSafe for ResponseFunctionToolCall
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