pub enum MessageContentTextObjectTextAnnotation {
FileCitation(MessageContentTextAnnotationsFileCitationObject),
FilePath(MessageContentTextAnnotationsFilePathObject),
}
Variants§
FileCitation(MessageContentTextAnnotationsFileCitationObject)
FilePath(MessageContentTextAnnotationsFilePathObject)
Trait Implementations§
Source§impl Clone for MessageContentTextObjectTextAnnotation
impl Clone for MessageContentTextObjectTextAnnotation
Source§fn clone(&self) -> MessageContentTextObjectTextAnnotation
fn clone(&self) -> MessageContentTextObjectTextAnnotation
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<'de> Deserialize<'de> for MessageContentTextObjectTextAnnotation
impl<'de> Deserialize<'de> for MessageContentTextObjectTextAnnotation
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 MessageContentTextObjectTextAnnotation
impl PartialEq for MessageContentTextObjectTextAnnotation
Source§fn eq(&self, other: &MessageContentTextObjectTextAnnotation) -> bool
fn eq(&self, other: &MessageContentTextObjectTextAnnotation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MessageContentTextObjectTextAnnotation
Auto Trait Implementations§
impl Freeze for MessageContentTextObjectTextAnnotation
impl RefUnwindSafe for MessageContentTextObjectTextAnnotation
impl Send for MessageContentTextObjectTextAnnotation
impl Sync for MessageContentTextObjectTextAnnotation
impl Unpin for MessageContentTextObjectTextAnnotation
impl UnwindSafe for MessageContentTextObjectTextAnnotation
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