Introduce the corresponding non-render types.
This commit is contained in:
10
src/context/heading.rs
Normal file
10
src/context/heading.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use serde::Serialize;
|
||||
|
||||
use super::RenderObject;
|
||||
|
||||
#[derive(Debug, Serialize)]
|
||||
#[serde(tag = "type")]
|
||||
#[serde(rename = "heading")]
|
||||
pub(crate) struct RenderHeading {
|
||||
title: Vec<RenderObject>,
|
||||
}
|
||||
Reference in New Issue
Block a user