pub struct ResponseCustomToolCallInputDeltaEvent {
pub delta: String,
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: String,
}Expand description
Event representing a delta (partial update) to the input of a custom tool call.
Fields§
§delta: StringThe incremental input data (delta) for the custom tool call.
item_id: StringUnique identifier for the API item associated with this event.
output_index: i64The index of the output this delta applies to.
sequence_number: i64The sequence number of this event.
type_: StringThe event type identifier.
Trait Implementations§
Source§impl Clone for ResponseCustomToolCallInputDeltaEvent
impl Clone for ResponseCustomToolCallInputDeltaEvent
Source§fn clone(&self) -> ResponseCustomToolCallInputDeltaEvent
fn clone(&self) -> ResponseCustomToolCallInputDeltaEvent
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<'de> Deserialize<'de> for ResponseCustomToolCallInputDeltaEvent
impl<'de> Deserialize<'de> for ResponseCustomToolCallInputDeltaEvent
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 ResponseCustomToolCallInputDeltaEvent
impl RefUnwindSafe for ResponseCustomToolCallInputDeltaEvent
impl Send for ResponseCustomToolCallInputDeltaEvent
impl Sync for ResponseCustomToolCallInputDeltaEvent
impl Unpin for ResponseCustomToolCallInputDeltaEvent
impl UnsafeUnpin for ResponseCustomToolCallInputDeltaEvent
impl UnwindSafe for ResponseCustomToolCallInputDeltaEvent
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