pub struct MessageContentTextAnnotationsFileCitationObject {
pub type: String,
pub text: String,
pub file_citation: MessageContentTextAnnotationsFileCitationObject_FileCitation,
pub start_index: i64,
pub end_index: i64,
}
Expand description
A citation within the message that points to a specific quote from a specific File associated with the assistant or the message.
Fields§
§type: String
Always file_citation
.
text: String
The text in the message content that needs to be replaced.
file_citation: MessageContentTextAnnotationsFileCitationObject_FileCitation
§start_index: i64
§end_index: i64
Trait Implementations§
Source§impl Clone for MessageContentTextAnnotationsFileCitationObject
impl Clone for MessageContentTextAnnotationsFileCitationObject
Source§fn clone(&self) -> MessageContentTextAnnotationsFileCitationObject
fn clone(&self) -> MessageContentTextAnnotationsFileCitationObject
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 moreAuto Trait Implementations§
impl Freeze for MessageContentTextAnnotationsFileCitationObject
impl RefUnwindSafe for MessageContentTextAnnotationsFileCitationObject
impl Send for MessageContentTextAnnotationsFileCitationObject
impl Sync for MessageContentTextAnnotationsFileCitationObject
impl Unpin for MessageContentTextAnnotationsFileCitationObject
impl UnwindSafe for MessageContentTextAnnotationsFileCitationObject
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