diff options
Diffstat (limited to 'src/models.rs')
| -rw-r--r-- | src/models.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/models.rs b/src/models.rs index 704ad84..991224c 100644 --- a/src/models.rs +++ b/src/models.rs @@ -18,12 +18,14 @@ pub struct EpubResponse { pub files: String, // This is a URL to the resource files pub spine: String, // This is a URL to the spine list pub table_of_contents: String, // This is a URL to the table of contents + pub language: String, } /// Model for chapters API. #[derive(Debug, Deserialize)] pub struct Chapter { pub ourn: String, + pub title: String, pub is_skippable: bool, pub related_assets: ChapRelAssets, } |
