docx_reader/documents/elements/
footer_reference.rs

1use serde::Serialize;
2
3#[derive(Debug, Clone, PartialEq, Serialize)]
4#[serde(rename_all = "camelCase")]
5pub struct FooterReference {
6	pub footer_type: String,
7	pub id: String,
8}
9
10impl FooterReference {
11	pub fn new(t: impl Into<String>, id: impl Into<String>) -> FooterReference {
12		FooterReference {
13			footer_type: t.into(),
14			id: id.into(),
15		}
16	}
17}