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