Struct stencila_schema::Heading
source · [−]pub struct Heading {
pub type_: Heading_,
pub content: Vec<InlineContent>,
pub depth: Option<u8>,
pub id: Option<Box<String>>,
}
Expand description
A heading.
Fields
type_: Heading_
The name of this type
content: Vec<InlineContent>
Content of the heading.
depth: Option<u8>
The depth of the heading.
id: Option<Box<String>>
The identifier for this item.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Heading
impl UnwindSafe for Heading
Blanket Implementations
Mutably borrows from an owned value. Read more