pub struct ResponseWebSearchCallInProgressEvent {
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: ResponseWebSearchCallInProgressEventType,
}Expand description
Emitted when a web search call is initiated.
JSON schema
{
"description": "Emitted when a web search call is initiated.",
"type": "object",
"required": [
"item_id",
"output_index",
"sequence_number",
"type"
],
"properties": {
"item_id": {
"description": "Unique ID for the output item associated with the web search call.\n",
"type": "string"
},
"output_index": {
"description": "The index of the output item that the web search call is associated with.\n",
"type": "integer"
},
"sequence_number": {
"description": "The sequence number of the web search call being processed.",
"type": "integer"
},
"type": {
"description": "The type of the event. Always `response.web_search_call.in_progress`.\n",
"type": "string",
"enum": [
"response.web_search_call.in_progress"
],
"x-stainless-const": true
}
},
"x-oaiMeta": {
"group": "responses",
"name": "response.web_search_call.in_progress"
}
}Fields§
§item_id: StringUnique ID for the output item associated with the web search call.
output_index: i64The index of the output item that the web search call is associated with.
sequence_number: i64The sequence number of the web search call being processed.
type_: ResponseWebSearchCallInProgressEventTypeThe type of the event. Always response.web_search_call.in_progress.
Trait Implementations§
Source§impl Clone for ResponseWebSearchCallInProgressEvent
impl Clone for ResponseWebSearchCallInProgressEvent
Source§fn clone(&self) -> ResponseWebSearchCallInProgressEvent
fn clone(&self) -> ResponseWebSearchCallInProgressEvent
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 ResponseWebSearchCallInProgressEvent
impl<'de> Deserialize<'de> for ResponseWebSearchCallInProgressEvent
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 From<ResponseWebSearchCallInProgressEvent> for ResponseStreamEvent
impl From<ResponseWebSearchCallInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseWebSearchCallInProgressEvent) -> Self
fn from(value: ResponseWebSearchCallInProgressEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseWebSearchCallInProgressEvent
impl RefUnwindSafe for ResponseWebSearchCallInProgressEvent
impl Send for ResponseWebSearchCallInProgressEvent
impl Sync for ResponseWebSearchCallInProgressEvent
impl Unpin for ResponseWebSearchCallInProgressEvent
impl UnsafeUnpin for ResponseWebSearchCallInProgressEvent
impl UnwindSafe for ResponseWebSearchCallInProgressEvent
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