pub struct ResponseFileSearchCallCompletedEvent {
pub output_index: u64,
pub item_id: String,
pub sequence_number: u64,
}
Expand description
Emitted when a file search call is completed (results found).
Fields§
§output_index: u64
The index of the output item that the file search call is initiated.
item_id: String
The ID of the output item that the file search call is initiated.
sequence_number: u64
The sequence number of this event.
Implementations§
Source§impl ResponseFileSearchCallCompletedEvent
impl ResponseFileSearchCallCompletedEvent
Sourcepub fn builder() -> ResponseFileSearchCallCompletedEventBuilder<((), (), ())>
pub fn builder() -> ResponseFileSearchCallCompletedEventBuilder<((), (), ())>
Create a builder for building ResponseFileSearchCallCompletedEvent
.
On the builder, call .output_index(...)
, .item_id(...)
, .sequence_number(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResponseFileSearchCallCompletedEvent
.
Trait Implementations§
Source§impl Clone for ResponseFileSearchCallCompletedEvent
impl Clone for ResponseFileSearchCallCompletedEvent
Source§fn clone(&self) -> ResponseFileSearchCallCompletedEvent
fn clone(&self) -> ResponseFileSearchCallCompletedEvent
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 ResponseFileSearchCallCompletedEvent
impl<'de> Deserialize<'de> for ResponseFileSearchCallCompletedEvent
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 ResponseFileSearchCallCompletedEvent
impl PartialEq for ResponseFileSearchCallCompletedEvent
Source§fn eq(&self, other: &ResponseFileSearchCallCompletedEvent) -> bool
fn eq(&self, other: &ResponseFileSearchCallCompletedEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ResponseFileSearchCallCompletedEvent
Auto Trait Implementations§
impl Freeze for ResponseFileSearchCallCompletedEvent
impl RefUnwindSafe for ResponseFileSearchCallCompletedEvent
impl Send for ResponseFileSearchCallCompletedEvent
impl Sync for ResponseFileSearchCallCompletedEvent
impl Unpin for ResponseFileSearchCallCompletedEvent
impl UnwindSafe for ResponseFileSearchCallCompletedEvent
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