pub struct Chapter {
pub anchor: Option<String>,
pub title: Option<Title>,
pub annotation: Option<Annotation>,
pub cover: Option<Image>,
pub epigraphs: Vec<Epigraph>,
pub content: Vec<Content>,
pub sub_chapters: Vec<Chapter>,
}Fields§
§anchor: Option<String>§title: Option<Title>§annotation: Option<Annotation>§cover: Option<Image>§epigraphs: Vec<Epigraph>§content: Vec<Content>§sub_chapters: Vec<Chapter>Trait Implementations§
source§impl<'de> Deserialize<'de> for Chapter
impl<'de> Deserialize<'de> for Chapter
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<Chapter> for Chapter
impl PartialEq<Chapter> for Chapter
impl StructuralPartialEq for Chapter
Auto Trait Implementations§
impl RefUnwindSafe for Chapter
impl Send for Chapter
impl Sync for Chapter
impl Unpin for Chapter
impl UnwindSafe for Chapter
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