docx_rust/document/
date.rs

1use hard_xml::{XmlRead, XmlWrite};
2
3#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
4#[cfg_attr(test, derive(PartialEq))]
5#[xml(tag = "w:dayShort")]
6pub struct DayShort;
7
8#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
9#[cfg_attr(test, derive(PartialEq))]
10#[xml(tag = "w:monthShort")]
11pub struct MonthShort;
12
13#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
14#[cfg_attr(test, derive(PartialEq))]
15#[xml(tag = "w:yearShort")]
16pub struct YearShort;
17
18#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
19#[cfg_attr(test, derive(PartialEq))]
20#[xml(tag = "w:dayLong")]
21pub struct DayLong;
22
23#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
24#[cfg_attr(test, derive(PartialEq))]
25#[xml(tag = "w:monthLong")]
26pub struct MonthLong;
27
28#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
29#[cfg_attr(test, derive(PartialEq))]
30#[xml(tag = "w:yearLong")]
31pub struct YearLong;