pub struct ChatToolArgumentsDeltaEvent {
pub choice_index: u32,
pub tool_call_index: u32,
pub name: Option<String>,
pub delta: String,
}Expand description
表示工具参数增量事件。
Fields§
§choice_index: u32候选索引。
tool_call_index: u32工具调用索引。
name: Option<String>工具名称增量。
delta: String参数增量。
Trait Implementations§
Source§impl Clone for ChatToolArgumentsDeltaEvent
impl Clone for ChatToolArgumentsDeltaEvent
Source§fn clone(&self) -> ChatToolArgumentsDeltaEvent
fn clone(&self) -> ChatToolArgumentsDeltaEvent
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 ChatToolArgumentsDeltaEvent
impl Debug for ChatToolArgumentsDeltaEvent
Source§impl<'de> Deserialize<'de> for ChatToolArgumentsDeltaEvent
impl<'de> Deserialize<'de> for ChatToolArgumentsDeltaEvent
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 Eq for ChatToolArgumentsDeltaEvent
impl StructuralPartialEq for ChatToolArgumentsDeltaEvent
Auto Trait Implementations§
impl Freeze for ChatToolArgumentsDeltaEvent
impl RefUnwindSafe for ChatToolArgumentsDeltaEvent
impl Send for ChatToolArgumentsDeltaEvent
impl Sync for ChatToolArgumentsDeltaEvent
impl Unpin for ChatToolArgumentsDeltaEvent
impl UnsafeUnpin for ChatToolArgumentsDeltaEvent
impl UnwindSafe for ChatToolArgumentsDeltaEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.