pub struct ParsedSection {
pub anchor: String,
pub title: Option<String>,
pub content_text: Option<String>,
pub section_type: SectionType,
pub parent_anchor: Option<String>,
pub prev_anchor: Option<String>,
pub next_anchor: Option<String>,
pub depth: Option<u8>,
}Expand description
A parsed section from the spec HTML
Fields§
§anchor: String§title: Option<String>§content_text: Option<String>§section_type: SectionType§parent_anchor: Option<String>§prev_anchor: Option<String>§next_anchor: Option<String>§depth: Option<u8>Trait Implementations§
Source§impl Clone for ParsedSection
impl Clone for ParsedSection
Source§fn clone(&self) -> ParsedSection
fn clone(&self) -> ParsedSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParsedSection
impl RefUnwindSafe for ParsedSection
impl Send for ParsedSection
impl Sync for ParsedSection
impl Unpin for ParsedSection
impl UnsafeUnpin for ParsedSection
impl UnwindSafe for ParsedSection
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