pub struct MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation {
pub file_id: Option<String>,
pub quote: Option<String>,
}
Fields§
§file_id: Option<String>
The ID of the specific File the citation is from.
quote: Option<String>
The specific quote in the file.
Implementations§
Source§impl MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
Sourcepub fn builder() -> MessageDeltaContentTextAnnotationsFileCitationObjectFileCitationBuilder<((), ())>
pub fn builder() -> MessageDeltaContentTextAnnotationsFileCitationObjectFileCitationBuilder<((), ())>
Create a builder for building MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
.
On the builder, call .file_id(...)
(optional), .quote(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
.
Trait Implementations§
Source§impl Clone for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl Clone for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
Source§fn clone(
&self,
) -> MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
fn clone( &self, ) -> MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
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 MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl Default for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
Source§fn default() -> MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
fn default() -> MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl<'de> Deserialize<'de> for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
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 MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl PartialEq for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
Source§fn eq(
&self,
other: &MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation,
) -> bool
fn eq( &self, other: &MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
Auto Trait Implementations§
impl Freeze for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl RefUnwindSafe for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl Send for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl Sync for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl Unpin for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
impl UnwindSafe for MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation
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