docx_reader/documents/elements/footer_reference.rs
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct FooterReference {
pub footer_type: String,
pub id: String,
}
impl FooterReference {
pub fn new(t: impl Into<String>, id: impl Into<String>) -> FooterReference {
FooterReference {
footer_type: t.into(),
id: id.into(),
}
}
}