1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
use std::borrow::Cow;
use strong_xml::{XmlRead, XmlWrite};
use crate::{__setter};
#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
#[cfg_attr(test, derive(PartialEq))]
#[xml(tag = "w:commentRangeStart")]
pub struct CommentRangeStart<'a> {
#[xml(attr = "w:id")]
pub id: Cow<'a, str>,
}
impl<'a> CommentRangeStart<'a> {
__setter!(id: Cow<'a, str>);
}
#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
#[cfg_attr(test, derive(PartialEq))]
#[xml(tag = "w:commentRangeEnd")]
pub struct CommentRangeEnd<'a> {
#[xml(attr = "w:id")]
pub id: Cow<'a, str>,
}
impl<'a> CommentRangeEnd<'a> {
__setter!(id: Cow<'a, str>);
}