pub struct Annotation {
pub id: Option<String>,
pub content: Vec<AnnotationContent>,
}Fields§
§id: Option<String>§content: Vec<AnnotationContent>Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
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 Debug for Annotation
impl Debug for Annotation
Source§impl<'de> Deserializer<'de, Annotation> for AnnotationDeserializer
impl<'de> Deserializer<'de, Annotation> for AnnotationDeserializer
Source§fn init<R>(
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, Annotation, Self>where
R: XmlReader,
fn init<R>(
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, Annotation, Self>where
R: XmlReader,
Source§fn next<R>(
self,
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, Annotation, Self>where
R: XmlReader,
fn next<R>(
self,
reader: &R,
event: Event<'de>,
) -> DeserializerResult<'de, Annotation, Self>where
R: XmlReader,
Source§impl PartialEq for Annotation
impl PartialEq for Annotation
Source§impl WithDeserializer for Annotation
impl WithDeserializer for Annotation
Source§type Deserializer = AnnotationDeserializer
type Deserializer = AnnotationDeserializer
The deserializer to use for this type.
Source§impl WithNamespace for Annotation
impl WithNamespace for Annotation
impl Eq for Annotation
impl StructuralPartialEq for Annotation
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
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