pub struct Section {
pub order: u32,
pub text: String,
}Expand description
One stretch of a page body.
text is raw markdown and includes the section’s own heading line when it
has one; concatenating the sections in order reproduces the body.
Fields§
§order: u32§text: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Section
impl<'de> Deserialize<'de> for Section
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
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Forget for Section
impl Freeze for Section
impl Move for Section
impl RefUnwindSafe for Section
impl Send for Sectionwhere
RawVecInner: Send,
impl Sync for Sectionwhere
RawVecInner: Sync,
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Sectionwhere
RawVecInner: UnwindSafe,
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