pub enum MessageContentTextAnnotations {
FileCitation(MessageContentTextAnnotationsFileCitationObject),
FilePath(MessageContentTextAnnotationsFilePathObject),
}
Variants§
FileCitation(MessageContentTextAnnotationsFileCitationObject)
A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the “retrieval” tool to search files.
FilePath(MessageContentTextAnnotationsFilePathObject)
A URL for the file that’s generated when the assistant used the code_interpreter
tool to generate a file.
Trait Implementations§
Source§impl Clone for MessageContentTextAnnotations
impl Clone for MessageContentTextAnnotations
Source§fn clone(&self) -> MessageContentTextAnnotations
fn clone(&self) -> MessageContentTextAnnotations
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<'de> Deserialize<'de> for MessageContentTextAnnotations
impl<'de> Deserialize<'de> for MessageContentTextAnnotations
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 MessageContentTextAnnotations
impl PartialEq for MessageContentTextAnnotations
Source§fn eq(&self, other: &MessageContentTextAnnotations) -> bool
fn eq(&self, other: &MessageContentTextAnnotations) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageContentTextAnnotations
Auto Trait Implementations§
impl Freeze for MessageContentTextAnnotations
impl RefUnwindSafe for MessageContentTextAnnotations
impl Send for MessageContentTextAnnotations
impl Sync for MessageContentTextAnnotations
impl Unpin for MessageContentTextAnnotations
impl UnwindSafe for MessageContentTextAnnotations
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