blob: 838a78da4d48d994e14f742b8b8e53383e9c0cc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
use serde_derive::{Deserialize, Serialize};
#[derive(Deserialize, Serialize)]
pub struct Config {
pub last_chapter: LastChapter,
pub templates: Template,
}
#[derive(Deserialize, Serialize)]
pub struct LastChapter {
pub user_name: String,
pub number: u32,
}
#[derive(Deserialize, Serialize)]
pub struct Template {
pub section: String,
pub chapter: String
}
|