pub struct BeginNum {
pub page: u32,
pub footnote: u32,
pub endnote: u32,
pub pic: u32,
pub tbl: u32,
pub equation: u32,
}Expand description
Starting numbers for various auto-numbering sequences.
Maps to <hh:beginNum> in header.xml.
Fields§
§page: u32Starting page number (default: 1).
footnote: u32Starting footnote number (default: 1).
endnote: u32Starting endnote number (default: 1).
pic: u32Starting picture number (default: 1).
tbl: u32Starting table number (default: 1).
equation: u32Starting equation number (default: 1).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BeginNum
impl<'de> Deserialize<'de> for BeginNum
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 BeginNum
impl JsonSchema for BeginNum
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 Copy for BeginNum
impl Eq for BeginNum
impl StructuralPartialEq for BeginNum
Auto Trait Implementations§
impl Freeze for BeginNum
impl RefUnwindSafe for BeginNum
impl Send for BeginNum
impl Sync for BeginNum
impl Unpin for BeginNum
impl UnwindSafe for BeginNum
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.