docx_reader/documents/elements/
section.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use super::*;

use serde::Serialize;

#[derive(Debug, Clone, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct Section {
	property: SectionProperty,
}

impl Section {
	pub fn new() -> Section {
		Default::default()
	}
}

impl Default for Section {
	fn default() -> Self {
		Self {
			property: SectionProperty::new(),
		}
	}
}