pub enum StructuredAnnotationsContent {
XmlAnnotation(XmlAnnotation),
FileAnnotation(FileAnnotation),
ListAnnotation(Annotation),
LongAnnotation(LongAnnotation),
DoubleAnnotation(DoubleAnnotation),
CommentAnnotation(CommentAnnotation),
BooleanAnnotation(BooleanAnnotation),
TimestampAnnotation(CommentAnnotation),
TagAnnotation(CommentAnnotation),
TermAnnotation(CommentAnnotation),
MapAnnotation(MapAnnotation),
}Variants§
XmlAnnotation(XmlAnnotation)
FileAnnotation(FileAnnotation)
ListAnnotation(Annotation)
LongAnnotation(LongAnnotation)
DoubleAnnotation(DoubleAnnotation)
CommentAnnotation(CommentAnnotation)
BooleanAnnotation(BooleanAnnotation)
TimestampAnnotation(CommentAnnotation)
TagAnnotation(CommentAnnotation)
TermAnnotation(CommentAnnotation)
MapAnnotation(MapAnnotation)
Trait Implementations§
Source§impl Clone for StructuredAnnotationsContent
impl Clone for StructuredAnnotationsContent
Source§fn clone(&self) -> StructuredAnnotationsContent
fn clone(&self) -> StructuredAnnotationsContent
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 Debug for StructuredAnnotationsContent
impl Debug for StructuredAnnotationsContent
Source§impl<'de> Deserialize<'de> for StructuredAnnotationsContent
impl<'de> Deserialize<'de> for StructuredAnnotationsContent
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
Auto Trait Implementations§
impl Freeze for StructuredAnnotationsContent
impl RefUnwindSafe for StructuredAnnotationsContent
impl Send for StructuredAnnotationsContent
impl Sync for StructuredAnnotationsContent
impl Unpin for StructuredAnnotationsContent
impl UnwindSafe for StructuredAnnotationsContent
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