pub struct RunStepDetailsToolCallsFileSearchResultObjectContent {
pub type_: Option<RunStepDetailsToolCallsFileSearchResultObjectContentType>,
pub text: Option<String>,
}Fields§
§type_: Option<RunStepDetailsToolCallsFileSearchResultObjectContentType>The type of the content.
text: Option<String>The text content of the file.
Implementations§
Source§impl RunStepDetailsToolCallsFileSearchResultObjectContent
impl RunStepDetailsToolCallsFileSearchResultObjectContent
Sourcepub fn builder() -> RunStepDetailsToolCallsFileSearchResultObjectContentBuilder<((), ())>
pub fn builder() -> RunStepDetailsToolCallsFileSearchResultObjectContentBuilder<((), ())>
Create a builder for building RunStepDetailsToolCallsFileSearchResultObjectContent.
On the builder, call .type_(...)(optional), .text(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of RunStepDetailsToolCallsFileSearchResultObjectContent.
Trait Implementations§
Source§impl Clone for RunStepDetailsToolCallsFileSearchResultObjectContent
impl Clone for RunStepDetailsToolCallsFileSearchResultObjectContent
Source§fn clone(&self) -> RunStepDetailsToolCallsFileSearchResultObjectContent
fn clone(&self) -> RunStepDetailsToolCallsFileSearchResultObjectContent
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 Default for RunStepDetailsToolCallsFileSearchResultObjectContent
impl Default for RunStepDetailsToolCallsFileSearchResultObjectContent
Source§fn default() -> RunStepDetailsToolCallsFileSearchResultObjectContent
fn default() -> RunStepDetailsToolCallsFileSearchResultObjectContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunStepDetailsToolCallsFileSearchResultObjectContent
impl<'de> Deserialize<'de> for RunStepDetailsToolCallsFileSearchResultObjectContent
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 RunStepDetailsToolCallsFileSearchResultObjectContent
impl PartialEq for RunStepDetailsToolCallsFileSearchResultObjectContent
Source§fn eq(
&self,
other: &RunStepDetailsToolCallsFileSearchResultObjectContent,
) -> bool
fn eq( &self, other: &RunStepDetailsToolCallsFileSearchResultObjectContent, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunStepDetailsToolCallsFileSearchResultObjectContent
Auto Trait Implementations§
impl Freeze for RunStepDetailsToolCallsFileSearchResultObjectContent
impl RefUnwindSafe for RunStepDetailsToolCallsFileSearchResultObjectContent
impl Send for RunStepDetailsToolCallsFileSearchResultObjectContent
impl Sync for RunStepDetailsToolCallsFileSearchResultObjectContent
impl Unpin for RunStepDetailsToolCallsFileSearchResultObjectContent
impl UnwindSafe for RunStepDetailsToolCallsFileSearchResultObjectContent
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