pub struct MessageContentTextAnnotationsFileCitationObject {
pub type: String,
pub text: String,
pub file_citation: FileCitation,
pub start_index: u32,
pub end_index: u32,
}
Fields§
§type: String
Always file_citation
.
text: String
The text in the message content that needs to be replaced.
file_citation: FileCitation
§start_index: u32
§end_index: u32
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 moresource§impl<'de> Deserialize<'de> for MessageContentTextAnnotationsFileCitationObject
impl<'de> Deserialize<'de> for MessageContentTextAnnotationsFileCitationObject
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 MessageContentTextAnnotationsFileCitationObject
impl PartialEq for MessageContentTextAnnotationsFileCitationObject
source§fn eq(&self, other: &MessageContentTextAnnotationsFileCitationObject) -> bool
fn eq(&self, other: &MessageContentTextAnnotationsFileCitationObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageContentTextAnnotationsFileCitationObject
Auto Trait Implementations§
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