pub struct SkillSection {
pub key: String,
pub title: String,
pub level: u8,
pub body: String,
}Expand description
One heading (or the preamble) plus the text until the next heading.
Fields§
§key: StringSlug key (setup, setup-2, preamble).
title: StringHeading text without #, or Preamble.
level: u80 for preamble, 1-6 for ATX headings.
body: StringHeading line plus body, or preamble text only.
Trait Implementations§
Source§impl Clone for SkillSection
impl Clone for SkillSection
Source§impl Debug for SkillSection
impl Debug for SkillSection
impl Eq for SkillSection
Source§impl PartialEq for SkillSection
impl PartialEq for SkillSection
impl StructuralPartialEq for SkillSection
Auto Trait Implementations§
impl Freeze for SkillSection
impl RefUnwindSafe for SkillSection
impl Send for SkillSection
impl Sync for SkillSection
impl Unpin for SkillSection
impl UnsafeUnpin for SkillSection
impl UnwindSafe for SkillSection
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