pub struct HeaderType {
pub level: String,
pub name: String,
}Expand description
A markdown header level and its text.
Fields§
§level: StringThe markdown header prefix (e.g., “#”, “##”, “###”)
name: StringThe metadata key to store this header’s text under
Trait Implementations§
Source§impl Clone for HeaderType
impl Clone for HeaderType
Source§fn clone(&self) -> HeaderType
fn clone(&self) -> HeaderType
Returns a duplicate of the value. Read more
1.0.0 · 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 HeaderType
impl RefUnwindSafe for HeaderType
impl Send for HeaderType
impl Sync for HeaderType
impl Unpin for HeaderType
impl UnsafeUnpin for HeaderType
impl UnwindSafe for HeaderType
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