src/global/common/hidden/storyboard.rs
19 lines · 524 bytes
1 symbol in this file
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Serialize, Deserialize)]
4pub struct Storyboard {
5 pub url: String,
6 #[serde(rename = "templateUrl")]
7 pub template_url: String,
8 pub width: u32,
9 pub height: u32,
10 pub count: i32,
11 pub interval: u32,
12 #[serde(rename = "storyboardWidth")]
13 pub storyboard_width: u16,
14 #[serde(rename = "storyboardHeight")]
15 pub storyboard_height: u16,
16 #[serde(rename = "storyboardCount")]
17 #[serde(default)]
18 pub storyboard_count: i16,
19}