docx_reader/documents/elements/
section.rs

1use super::*;
2
3use serde::Serialize;
4
5#[derive(Debug, Clone, PartialEq, Serialize)]
6#[serde(rename_all = "camelCase")]
7pub struct Section {
8	property: SectionProperty,
9}
10
11impl Section {
12	pub fn new() -> Section {
13		Default::default()
14	}
15}
16
17impl Default for Section {
18	fn default() -> Self {
19		Self {
20			property: SectionProperty::new(),
21		}
22	}
23}