pub struct ChatToolArgumentsDoneEvent {
pub choice_index: u32,
pub tool_call_index: u32,
pub name: String,
pub arguments: String,
pub parsed_arguments: Option<JsonPayload>,
}Expand description
表示工具参数完成事件。
Fields§
§choice_index: u32候选索引。
tool_call_index: u32工具调用索引。
name: String工具名称。
arguments: String完整参数字符串。
parsed_arguments: Option<JsonPayload>如果完整参数是合法 JSON,则提供解析结果。
Trait Implementations§
Source§impl Clone for ChatToolArgumentsDoneEvent
impl Clone for ChatToolArgumentsDoneEvent
Source§fn clone(&self) -> ChatToolArgumentsDoneEvent
fn clone(&self) -> ChatToolArgumentsDoneEvent
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 ChatToolArgumentsDoneEvent
impl Debug for ChatToolArgumentsDoneEvent
Source§impl<'de> Deserialize<'de> for ChatToolArgumentsDoneEvent
impl<'de> Deserialize<'de> for ChatToolArgumentsDoneEvent
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
impl StructuralPartialEq for ChatToolArgumentsDoneEvent
Auto Trait Implementations§
impl Freeze for ChatToolArgumentsDoneEvent
impl RefUnwindSafe for ChatToolArgumentsDoneEvent
impl Send for ChatToolArgumentsDoneEvent
impl Sync for ChatToolArgumentsDoneEvent
impl Unpin for ChatToolArgumentsDoneEvent
impl UnsafeUnpin for ChatToolArgumentsDoneEvent
impl UnwindSafe for ChatToolArgumentsDoneEvent
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