Struct fb2::Annotation
source · pub struct Annotation {
pub id: Option<String>,
pub lang: Option<LanguageTag>,
pub elements: Vec<AnnotationElement>,
}Expand description
A cut-down version of section used in annotations
Fields§
§id: Option<String>§lang: Option<LanguageTag>§elements: Vec<AnnotationElement>Trait Implementations§
source§impl Debug for Annotation
impl Debug for Annotation
source§impl PartialEq<Annotation> for Annotation
impl PartialEq<Annotation> for Annotation
source§fn eq(&self, other: &Annotation) -> bool
fn eq(&self, other: &Annotation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Annotation
Auto Trait Implementations§
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