pub struct MessageDeltaContentTextAnnotationsFilePathObject {
pub index: u32,
pub text: Option<String>,
pub file_path: Option<FilePath>,
pub start_index: Option<u32>,
pub end_index: Option<u32>,
}
Expand description
A URL for the file that’s generated when the assistant used the code_interpreter
tool to generate a file.
Fields§
§index: u32
The index of the annotation in the text content part.
text: Option<String>
The text in the message content that needs to be replaced.
file_path: Option<FilePath>
§start_index: Option<u32>
§end_index: Option<u32>
Trait Implementations§
Source§impl Clone for MessageDeltaContentTextAnnotationsFilePathObject
impl Clone for MessageDeltaContentTextAnnotationsFilePathObject
Source§fn clone(&self) -> MessageDeltaContentTextAnnotationsFilePathObject
fn clone(&self) -> MessageDeltaContentTextAnnotationsFilePathObject
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 MessageDeltaContentTextAnnotationsFilePathObject
impl<'de> Deserialize<'de> for MessageDeltaContentTextAnnotationsFilePathObject
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 MessageDeltaContentTextAnnotationsFilePathObject
impl PartialEq for MessageDeltaContentTextAnnotationsFilePathObject
Source§fn eq(&self, other: &MessageDeltaContentTextAnnotationsFilePathObject) -> bool
fn eq(&self, other: &MessageDeltaContentTextAnnotationsFilePathObject) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageDeltaContentTextAnnotationsFilePathObject
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