pub struct MessageContentTextAnnotationsFilePathObject {
pub text: String,
pub file_path: MessageContentTextAnnotationsFilePathObjectFilePath,
pub start_index: u64,
pub end_index: u64,
}
Expand description
A URL for the file that’s generated when the assistant used the code_interpreter
tool to generate a file.
Fields§
§text: String
The text in the message content that needs to be replaced.
file_path: MessageContentTextAnnotationsFilePathObjectFilePath
§start_index: u64
§end_index: u64
Implementations§
Source§impl MessageContentTextAnnotationsFilePathObject
impl MessageContentTextAnnotationsFilePathObject
Sourcepub fn builder() -> MessageContentTextAnnotationsFilePathObjectBuilder<((), (), (), ())>
pub fn builder() -> MessageContentTextAnnotationsFilePathObjectBuilder<((), (), (), ())>
Create a builder for building MessageContentTextAnnotationsFilePathObject
.
On the builder, call .text(...)
, .file_path(...)
, .start_index(...)
, .end_index(...)
to set the values of the fields.
Finally, call .build()
to create the instance of MessageContentTextAnnotationsFilePathObject
.
Trait Implementations§
Source§impl Clone for MessageContentTextAnnotationsFilePathObject
impl Clone for MessageContentTextAnnotationsFilePathObject
Source§fn clone(&self) -> MessageContentTextAnnotationsFilePathObject
fn clone(&self) -> MessageContentTextAnnotationsFilePathObject
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 MessageContentTextAnnotationsFilePathObject
impl<'de> Deserialize<'de> for MessageContentTextAnnotationsFilePathObject
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 MessageContentTextAnnotationsFilePathObject
impl PartialEq for MessageContentTextAnnotationsFilePathObject
Source§fn eq(&self, other: &MessageContentTextAnnotationsFilePathObject) -> bool
fn eq(&self, other: &MessageContentTextAnnotationsFilePathObject) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageContentTextAnnotationsFilePathObject
Auto Trait Implementations§
impl Freeze for MessageContentTextAnnotationsFilePathObject
impl RefUnwindSafe for MessageContentTextAnnotationsFilePathObject
impl Send for MessageContentTextAnnotationsFilePathObject
impl Sync for MessageContentTextAnnotationsFilePathObject
impl Unpin for MessageContentTextAnnotationsFilePathObject
impl UnwindSafe for MessageContentTextAnnotationsFilePathObject
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