pub struct NumberingLevelDefinition {Show 13 fields
pub ilvl: i64,
pub start: Option<i64>,
pub format: Option<String>,
pub text: Option<String>,
pub suffix: Option<NumberingLevelSuffix>,
pub lvl_restart: Option<i64>,
pub is_lgl: Option<bool>,
pub indent: Option<ParagraphIndent>,
pub run_style: Option<TextStyle>,
pub bullet_font_family: Option<String>,
pub bullet_color: Option<String>,
pub picture_bullet_id: Option<i64>,
pub picture_bullet: Option<NumberingPictureBulletDefinition>,
}Expand description
Mirrors TypeScript NumberingLevelDefinition.
Fields§
§ilvl: i64§start: Option<i64>§format: Option<String>§text: Option<String>§suffix: Option<NumberingLevelSuffix>§lvl_restart: Option<i64>w:lvlRestart: one-based level whose use restarts this level; 0 means
this level never restarts. Absent means the OOXML default (restart when
any shallower level is used).
is_lgl: Option<bool>w:isLgl: legal numbering — every placeholder in this level’s text
renders as decimal regardless of the referenced levels’ formats.
indent: Option<ParagraphIndent>§run_style: Option<TextStyle>§bullet_font_family: Option<String>§bullet_color: Option<String>§picture_bullet_id: Option<i64>§picture_bullet: Option<NumberingPictureBulletDefinition>Trait Implementations§
Source§impl Clone for NumberingLevelDefinition
impl Clone for NumberingLevelDefinition
Source§impl Debug for NumberingLevelDefinition
impl Debug for NumberingLevelDefinition
Source§impl<'de> Deserialize<'de> for NumberingLevelDefinition
impl<'de> Deserialize<'de> for NumberingLevelDefinition
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 PartialEq for NumberingLevelDefinition
impl PartialEq for NumberingLevelDefinition
Source§impl Serialize for NumberingLevelDefinition
impl Serialize for NumberingLevelDefinition
impl StructuralPartialEq for NumberingLevelDefinition
Auto Trait Implementations§
impl Freeze for NumberingLevelDefinition
impl RefUnwindSafe for NumberingLevelDefinition
impl Send for NumberingLevelDefinition
impl Sync for NumberingLevelDefinition
impl Unpin for NumberingLevelDefinition
impl UnsafeUnpin for NumberingLevelDefinition
impl UnwindSafe for NumberingLevelDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more