pub struct Section {
pub header: Option<String>,
pub body: Option<String>,
pub sections: Map<String, Section>,
}Expand description
Section structure (recursive)
Fields§
§header: Option<String>Section header (inline markdown). If omitted, section key is used.
body: Option<String>Section body content (block markdown)
sections: Map<String, Section>Nested subsections
Trait Implementations§
Source§impl<'doc> FromEure<'doc> for Section
impl<'doc> FromEure<'doc> for Section
Source§type Error = ParseError
type Error = ParseError
The error type returned by parsing.
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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