pub struct AssistantToolCallDeltaEvent {
pub run_step_id: Option<String>,
pub tool_call_index: usize,
pub delta: Value,
pub snapshot: Value,
}Expand description
表示工具调用增量事件。
Fields§
§run_step_id: Option<String>run step ID。
tool_call_index: usize工具调用索引。
delta: Value工具调用增量。
snapshot: Value当前工具调用快照。
Trait Implementations§
Source§impl Clone for AssistantToolCallDeltaEvent
impl Clone for AssistantToolCallDeltaEvent
Source§fn clone(&self) -> AssistantToolCallDeltaEvent
fn clone(&self) -> AssistantToolCallDeltaEvent
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 AssistantToolCallDeltaEvent
impl Debug for AssistantToolCallDeltaEvent
Source§impl<'de> Deserialize<'de> for AssistantToolCallDeltaEvent
impl<'de> Deserialize<'de> for AssistantToolCallDeltaEvent
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 AssistantToolCallDeltaEvent
Auto Trait Implementations§
impl Freeze for AssistantToolCallDeltaEvent
impl RefUnwindSafe for AssistantToolCallDeltaEvent
impl Send for AssistantToolCallDeltaEvent
impl Sync for AssistantToolCallDeltaEvent
impl Unpin for AssistantToolCallDeltaEvent
impl UnsafeUnpin for AssistantToolCallDeltaEvent
impl UnwindSafe for AssistantToolCallDeltaEvent
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