diff options
author | metamuffin <metamuffin@disroot.org> | 2024-04-10 19:14:11 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-04-10 19:14:49 +0200 |
commit | 3e3064b7b8adc1354ba833a0903cc59d2ef6d83f (patch) | |
tree | cd3394d47f886e5cc5ffbb4f8b647227c25e6c68 /common/src/lib.rs | |
parent | 50ae5ec326dbb034b325e73ffcc032b1167ddd9c (diff) | |
download | jellything-3e3064b7b8adc1354ba833a0903cc59d2ef6d83f.tar jellything-3e3064b7b8adc1354ba833a0903cc59d2ef6d83f.tar.bz2 jellything-3e3064b7b8adc1354ba833a0903cc59d2ef6d83f.tar.zst |
add subtitles
Diffstat (limited to 'common/src/lib.rs')
-rw-r--r-- | common/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index 27ca24a..d06c40c 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -44,12 +44,13 @@ pub struct NodePublic { #[serde(default)] pub poster: Option<Asset>, #[serde(default)] pub backdrop: Option<Asset>, - + #[serde(default)] pub title: Option<String>, + #[serde(default)] pub subtitle: Option<String>, #[serde(default)] pub id: Option<String>, #[serde(default)] pub path: Vec<String>, - #[serde(default)] pub children: Vec<String>, #[serde(default)] pub tagline: Option<String>, + #[serde(default)] pub children: Vec<String>, #[serde(default)] pub description: Option<String>, #[serde(default)] pub release_date: Option<i64>, // in unix millis #[serde(default)] pub index: Option<usize>, |