pub struct Section {
pub id: SectionId,
pub href: String,
pub spine_index: usize,
pub title: Option<String>,
pub heading_level: Option<u8>,
pub block_ids: Vec<BlockId>,
pub prev: Option<SectionId>,
pub next: Option<SectionId>,
}Fields§
§id: SectionId§href: String§spine_index: usize§title: Option<String>§heading_level: Option<u8>§block_ids: Vec<BlockId>§prev: Option<SectionId>§next: Option<SectionId>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
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin 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