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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageContentTextAnnotations
Auto Trait Implementations§
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