pub struct Heading {
pub id: Option<String>,
pub heading_type: Option<String>,
pub size: u8,
pub content: Vec<InlineElement>,
}Expand description
Heading - section title with size
Fields§
§id: Option<String>Unique identifier
heading_type: Option<String>Semantic classification (e.g., “subtitle”)
size: u8Heading level (REQUIRED, profile defines maximum)
content: Vec<InlineElement>Inline elements and text
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Heading
impl<'de> Deserialize<'de> for Heading
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 StructuralPartialEq for Heading
Auto Trait Implementations§
impl Freeze for Heading
impl RefUnwindSafe for Heading
impl Send for Heading
impl Sync for Heading
impl Unpin for Heading
impl UnwindSafe for Heading
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