pub struct StreamToolUseInputDelta {
pub id: String,
pub partial_json: String,
}Expand description
Tool-call input delta — fires zero or more times with raw JSON fragments.
Fields§
§id: String§partial_json: StringRaw JSON fragment. May not parse on its own; accumulate until
the corresponding tool_use_complete event arrives with the
authoritative input.
Trait Implementations§
Source§impl Clone for StreamToolUseInputDelta
impl Clone for StreamToolUseInputDelta
Source§fn clone(&self) -> StreamToolUseInputDelta
fn clone(&self) -> StreamToolUseInputDelta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamToolUseInputDelta
impl Debug for StreamToolUseInputDelta
Source§impl<'de> Deserialize<'de> for StreamToolUseInputDelta
impl<'de> Deserialize<'de> for StreamToolUseInputDelta
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 StreamToolUseInputDelta
impl RefUnwindSafe for StreamToolUseInputDelta
impl Send for StreamToolUseInputDelta
impl Sync for StreamToolUseInputDelta
impl Unpin for StreamToolUseInputDelta
impl UnsafeUnpin for StreamToolUseInputDelta
impl UnwindSafe for StreamToolUseInputDelta
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