pub struct GetRunStepParams {
pub thread_id: String,
pub run_id: String,
pub step_id: String,
pub include: Option<Vec<GetRunStepParamsInclude>>,
}
Fields§
§thread_id: String
The ID of the thread to which the run and run step belongs.
run_id: String
The ID of the run to which the run step belongs.
step_id: String
The ID of the run step to retrieve.
include: Option<Vec<GetRunStepParamsInclude>>
A list of additional fields to include in the response. Currently the only supported value is step_details.tool_calls[*].file_search.results[*].content
to fetch the file search result content.
See the file search tool documentation for more information.
Implementations§
Source§impl GetRunStepParams
impl GetRunStepParams
Sourcepub fn builder() -> GetRunStepParamsBuilder<((), (), (), ())>
pub fn builder() -> GetRunStepParamsBuilder<((), (), (), ())>
Create a builder for building GetRunStepParams
.
On the builder, call .thread_id(...)
, .run_id(...)
, .step_id(...)
, .include(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GetRunStepParams
.
Trait Implementations§
Source§impl Clone for GetRunStepParams
impl Clone for GetRunStepParams
Source§fn clone(&self) -> GetRunStepParams
fn clone(&self) -> GetRunStepParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetRunStepParams
impl Debug for GetRunStepParams
Source§impl<'de> Deserialize<'de> for GetRunStepParams
impl<'de> Deserialize<'de> for GetRunStepParams
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 GetRunStepParams
impl PartialEq for GetRunStepParams
Source§impl Serialize for GetRunStepParams
impl Serialize for GetRunStepParams
impl StructuralPartialEq for GetRunStepParams
Auto Trait Implementations§
impl Freeze for GetRunStepParams
impl RefUnwindSafe for GetRunStepParams
impl Send for GetRunStepParams
impl Sync for GetRunStepParams
impl Unpin for GetRunStepParams
impl UnwindSafe for GetRunStepParams
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