pub struct FileSearchToolCall {
pub id: String,
pub status: FileSearchToolCallStatus,
pub queries: Vec<String>,
pub results: Option<Vec<FileSearchToolCallResult>>,
}
Expand description
The results of a file search tool call. See the file search guide for more information.
Fields§
§id: String
The unique ID of the file search tool call.
status: FileSearchToolCallStatus
The status of the file search tool call. One of in_progress
,
searching
, incomplete
or failed
,
queries: Vec<String>
The queries used to search for files.
results: Option<Vec<FileSearchToolCallResult>>
The results of the file search tool call.
Implementations§
Source§impl FileSearchToolCall
impl FileSearchToolCall
Sourcepub fn builder() -> FileSearchToolCallBuilder<((), (), (), ())>
pub fn builder() -> FileSearchToolCallBuilder<((), (), (), ())>
Create a builder for building FileSearchToolCall
.
On the builder, call .id(...)
, .status(...)
, .queries(...)
, .results(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of FileSearchToolCall
.
Trait Implementations§
Source§impl Clone for FileSearchToolCall
impl Clone for FileSearchToolCall
Source§fn clone(&self) -> FileSearchToolCall
fn clone(&self) -> FileSearchToolCall
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 Debug for FileSearchToolCall
impl Debug for FileSearchToolCall
Source§impl<'de> Deserialize<'de> for FileSearchToolCall
impl<'de> Deserialize<'de> for FileSearchToolCall
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 FileSearchToolCall
impl PartialEq for FileSearchToolCall
Source§impl Serialize for FileSearchToolCall
impl Serialize for FileSearchToolCall
impl StructuralPartialEq for FileSearchToolCall
Auto Trait Implementations§
impl Freeze for FileSearchToolCall
impl RefUnwindSafe for FileSearchToolCall
impl Send for FileSearchToolCall
impl Sync for FileSearchToolCall
impl Unpin for FileSearchToolCall
impl UnwindSafe for FileSearchToolCall
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