pub struct MessageDeltaContentTextAnnotationsFileCitationObject {
pub index: i64,
pub type: String,
pub text: String,
pub file_citation: MessageDeltaContentTextAnnotationsFileCitationObject_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§
§index: i64The index of the annotation in the text content part.
type: StringAlways file_citation.
text: StringThe text in the message content that needs to be replaced.
file_citation: MessageDeltaContentTextAnnotationsFileCitationObject_FileCitation§start_index: i64§end_index: i64Trait Implementations§
Source§impl Clone for MessageDeltaContentTextAnnotationsFileCitationObject
impl Clone for MessageDeltaContentTextAnnotationsFileCitationObject
Source§fn clone(&self) -> MessageDeltaContentTextAnnotationsFileCitationObject
fn clone(&self) -> MessageDeltaContentTextAnnotationsFileCitationObject
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 MessageDeltaContentTextAnnotationsFileCitationObject
impl RefUnwindSafe for MessageDeltaContentTextAnnotationsFileCitationObject
impl Send for MessageDeltaContentTextAnnotationsFileCitationObject
impl Sync for MessageDeltaContentTextAnnotationsFileCitationObject
impl Unpin for MessageDeltaContentTextAnnotationsFileCitationObject
impl UnwindSafe for MessageDeltaContentTextAnnotationsFileCitationObject
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