pub struct MessageDeltaContentTextAnnotationsFileCitationObject {
pub index: i64,
pub type: String,
pub text: Option<String>,
pub file_citation: Option<MessageDeltaContentTextAnnotationsFileCitationObject_FileCitation>,
pub start_index: Option<i64>,
pub end_index: Option<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: Option<String>The text in the message content that needs to be replaced.
file_citation: Option<MessageDeltaContentTextAnnotationsFileCitationObject_FileCitation>§start_index: Option<i64>§end_index: Option<i64>Trait Implementations§
Source§impl Clone for MessageDeltaContentTextAnnotationsFileCitationObject
impl Clone for MessageDeltaContentTextAnnotationsFileCitationObject
Source§fn clone(&self) -> MessageDeltaContentTextAnnotationsFileCitationObject
fn clone(&self) -> MessageDeltaContentTextAnnotationsFileCitationObject
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 Default for MessageDeltaContentTextAnnotationsFileCitationObject
impl Default for MessageDeltaContentTextAnnotationsFileCitationObject
Source§fn default() -> MessageDeltaContentTextAnnotationsFileCitationObject
fn default() -> MessageDeltaContentTextAnnotationsFileCitationObject
Returns the “default value” for a type. Read more
Auto 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