isbnlib/jsonb/
table_of_contents.rs

1use serde::{Deserialize, Serialize};
2
3use crate::jsonb::key_value_block::KeyValueBlock;
4
5#[derive(
6Serialize,
7Deserialize,
8Debug,
9Clone,
10PartialEq,
11)]
12pub struct TableOfContents {
13    pub pagenum: String,
14    pub title: String,
15    #[serde(rename(deserialize = "type"))]
16    pub value_type: KeyValueBlock,
17}
18