pub struct ResponseCustomToolCallInputDeltaEvent {
pub sequence_number: i64,
pub output_index: i64,
pub item_id: String,
pub delta: String,
}
Expand description
Event representing a delta (partial update) to the input of a custom tool call.
Fields§
§sequence_number: i64
The sequence number of this event.
output_index: i64
The index of the output this delta applies to.
item_id: String
Unique identifier for the API item associated with this event.
delta: String
The incremental input data (delta) for the custom tool call.
Implementations§
Source§impl ResponseCustomToolCallInputDeltaEvent
impl ResponseCustomToolCallInputDeltaEvent
Sourcepub fn builder() -> ResponseCustomToolCallInputDeltaEventBuilder<((), (), (), ())>
pub fn builder() -> ResponseCustomToolCallInputDeltaEventBuilder<((), (), (), ())>
Create a builder for building ResponseCustomToolCallInputDeltaEvent
.
On the builder, call .sequence_number(...)
, .output_index(...)
, .item_id(...)
, .delta(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseCustomToolCallInputDeltaEvent
.
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 · 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
Source§impl PartialEq for ResponseCustomToolCallInputDeltaEvent
impl PartialEq for ResponseCustomToolCallInputDeltaEvent
Source§fn eq(&self, other: &ResponseCustomToolCallInputDeltaEvent) -> bool
fn eq(&self, other: &ResponseCustomToolCallInputDeltaEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseCustomToolCallInputDeltaEvent
Auto Trait Implementations§
impl Freeze for ResponseCustomToolCallInputDeltaEvent
impl RefUnwindSafe for ResponseCustomToolCallInputDeltaEvent
impl Send for ResponseCustomToolCallInputDeltaEvent
impl Sync for ResponseCustomToolCallInputDeltaEvent
impl Unpin 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