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