pub struct MessageDeltaContentTextAnnotationsFilePathObject {
pub index: i64,
pub type: String,
pub text: Option<String>,
pub file_path: Option<MessageDeltaContentTextAnnotationsFilePathObject_FilePath>,
pub start_index: Option<i64>,
pub end_index: Option<i64>,
}
Expand description
A URL for the file that’s generated when the assistant used the
code_interpreter
tool to generate a file.
Fields§
§index: i64
The index of the annotation in the text content part.
type: String
Always file_path
.
text: Option<String>
The text in the message content that needs to be replaced.
file_path: Option<MessageDeltaContentTextAnnotationsFilePathObject_FilePath>
§start_index: Option<i64>
§end_index: Option<i64>
Trait Implementations§
Source§impl Clone for MessageDeltaContentTextAnnotationsFilePathObject
impl Clone for MessageDeltaContentTextAnnotationsFilePathObject
Source§fn clone(&self) -> MessageDeltaContentTextAnnotationsFilePathObject
fn clone(&self) -> MessageDeltaContentTextAnnotationsFilePathObject
Returns a copy 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 MessageDeltaContentTextAnnotationsFilePathObject
impl Default for MessageDeltaContentTextAnnotationsFilePathObject
Source§fn default() -> MessageDeltaContentTextAnnotationsFilePathObject
fn default() -> MessageDeltaContentTextAnnotationsFilePathObject
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessageDeltaContentTextAnnotationsFilePathObject
impl RefUnwindSafe for MessageDeltaContentTextAnnotationsFilePathObject
impl Send for MessageDeltaContentTextAnnotationsFilePathObject
impl Sync for MessageDeltaContentTextAnnotationsFilePathObject
impl Unpin for MessageDeltaContentTextAnnotationsFilePathObject
impl UnwindSafe for MessageDeltaContentTextAnnotationsFilePathObject
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