docx_reader/documents/
web_settings.rs

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

use super::*;

#[derive(Debug, Clone, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct WebSettings {
	pub divs: Vec<Div>,
}

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

impl Default for WebSettings {
	fn default() -> Self {
		Self { divs: vec![] }
	}
}