pub struct RunStepDetailsToolCallsFileSearchResultObject {
pub file_id: String,
pub file_name: String,
pub score: f32,
pub content: Option<Vec<RunStepDetailsToolCallsFileSearchResultObjectContent>>,
}Expand description
A result instance of the file search.
Fields§
§file_id: StringThe ID of the file that result was found in.
file_name: StringThe name of the file that result was found in.
score: f32The score of the result. All values must be a floating point number between 0 and 1.
content: Option<Vec<RunStepDetailsToolCallsFileSearchResultObjectContent>>The content of the result that was found. The content is only included if requested via the include query parameter.
Trait Implementations§
Source§impl Clone for RunStepDetailsToolCallsFileSearchResultObject
impl Clone for RunStepDetailsToolCallsFileSearchResultObject
Source§fn clone(&self) -> RunStepDetailsToolCallsFileSearchResultObject
fn clone(&self) -> RunStepDetailsToolCallsFileSearchResultObject
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 RunStepDetailsToolCallsFileSearchResultObject
impl<'de> Deserialize<'de> for RunStepDetailsToolCallsFileSearchResultObject
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 RunStepDetailsToolCallsFileSearchResultObject
impl PartialEq for RunStepDetailsToolCallsFileSearchResultObject
Source§fn eq(&self, other: &RunStepDetailsToolCallsFileSearchResultObject) -> bool
fn eq(&self, other: &RunStepDetailsToolCallsFileSearchResultObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunStepDetailsToolCallsFileSearchResultObject
Auto Trait Implementations§
impl Freeze for RunStepDetailsToolCallsFileSearchResultObject
impl RefUnwindSafe for RunStepDetailsToolCallsFileSearchResultObject
impl Send for RunStepDetailsToolCallsFileSearchResultObject
impl Sync for RunStepDetailsToolCallsFileSearchResultObject
impl Unpin for RunStepDetailsToolCallsFileSearchResultObject
impl UnwindSafe for RunStepDetailsToolCallsFileSearchResultObject
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