docx_reader/documents/
custom_item_property.rs

1
2
3
4
5
6
7
8
9
10
11
12
use serde::Serialize;

#[derive(Debug, Clone, Serialize)]
pub struct CustomItemProperty {
	id: String,
}

impl CustomItemProperty {
	pub fn new(id: impl Into<String>) -> Self {
		Self { id: id.into() }
	}
}