pub struct Docx<'a> {
Show 16 fields pub app: Option<App<'a>>, pub core: Option<Core<'a>>, pub content_types: ContentTypes<'a>, pub document: Document<'a>, pub font_table: Option<FontTable<'a>>, pub styles: Styles<'a>, pub rels: Relationships<'a>, pub document_rels: Option<Relationships<'a>>, pub headers: HashMap<String, Header<'a>>, pub footers: HashMap<String, Footer<'a>>, pub themes: HashMap<String, Theme<'a>>, pub footnotes: Option<FootNotes<'a>>, pub endnotes: Option<EndNotes<'a>>, pub settings: Option<Settings<'a>>, pub web_settings: Option<WebSettings>, pub comments: Option<Comments<'a>>,
}
Expand description

A WordprocessingML package

Fields

app: Option<App<'a>>

Specifies package-level properties part

core: Option<Core<'a>>

Specifies core properties part

content_types: ContentTypes<'a>

Specifies the content type of relationship parts and the main document part.

document: Document<'a>

Specifies the main document part.

font_table: Option<FontTable<'a>>

Specifies the font table part

styles: Styles<'a>

Specifies the style definitions part

rels: Relationships<'a>

Specifies the package-level relationship to the main document part

document_rels: Option<Relationships<'a>>

Specifies the part-level relationship to the main document part

headers: HashMap<String, Header<'a>>footers: HashMap<String, Footer<'a>>themes: HashMap<String, Theme<'a>>footnotes: Option<FootNotes<'a>>endnotes: Option<EndNotes<'a>>settings: Option<Settings<'a>>web_settings: Option<WebSettings>comments: Option<Comments<'a>>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.