Enum json_book::AnnotationElement
source · pub enum AnnotationElement {
Paragraph(Paragraph),
Poem(Poem),
Cite(Cite),
Subtitle(Paragraph),
Table(Table),
EmptyLine,
}Variants§
Trait Implementations§
source§impl Debug for AnnotationElement
impl Debug for AnnotationElement
source§impl<'de> Deserialize<'de> for AnnotationElement
impl<'de> Deserialize<'de> for AnnotationElement
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<AnnotationElement> for AnnotationElement
impl PartialEq<AnnotationElement> for AnnotationElement
source§fn eq(&self, other: &AnnotationElement) -> bool
fn eq(&self, other: &AnnotationElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AnnotationElement
impl Serialize for AnnotationElement
impl StructuralPartialEq for AnnotationElement
Auto Trait Implementations§
impl RefUnwindSafe for AnnotationElement
impl Send for AnnotationElement
impl Sync for AnnotationElement
impl Unpin for AnnotationElement
impl UnwindSafe for AnnotationElement
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