pub struct ParaHead {
pub start: u32,
pub level: u32,
pub num_format: NumberFormatType,
pub text: String,
pub checkable: bool,
}Expand description
A single level definition within a numbering scheme.
Maps to HWPX <hh:paraHead> inside <hh:numbering>.
Fields§
§start: u32Starting number for this level.
level: u32Outline level (1-10).
num_format: NumberFormatTypeNumber format (DIGIT, HANGUL_SYLLABLE, etc.).
text: StringDisplay template with ^N placeholder (e.g. "^1.", "(^5)").
Empty string for levels 9 and 10 (self-closing in HWPX).
checkable: boolWhether this level is checkable.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParaHead
impl<'de> Deserialize<'de> for ParaHead
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
Source§impl JsonSchema for ParaHead
impl JsonSchema for ParaHead
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for ParaHead
Auto Trait Implementations§
impl Freeze for ParaHead
impl RefUnwindSafe for ParaHead
impl Send for ParaHead
impl Sync for ParaHead
impl Unpin for ParaHead
impl UnwindSafe for ParaHead
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