docx_reader/documents/custom_item_rels.rs
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct CustomItemRels {
custom_item_count: usize,
}
impl CustomItemRels {
pub fn new() -> CustomItemRels {
Default::default()
}
pub fn add_item(mut self) -> Self {
self.custom_item_count += 1;
self
}
}