fix: add new attributed_text description
add mapping tests for video_details
This commit is contained in:
parent
0659a64361
commit
bf97f31173
19 changed files with 32747 additions and 9856 deletions
|
|
@ -91,6 +91,7 @@ pub struct GridVideoRenderer {
|
|||
pub title: String,
|
||||
#[serde_as(as = "Option<Text>")]
|
||||
pub published_time_text: Option<String>,
|
||||
/// Contains `No views` if the view count is zero
|
||||
#[serde_as(as = "Option<Text>")]
|
||||
pub view_count_text: Option<String>,
|
||||
/// Contains video length
|
||||
|
|
@ -119,6 +120,7 @@ pub struct CompactVideoRenderer {
|
|||
/// (e.g. `11 months ago`)
|
||||
#[serde_as(as = "Option<Text>")]
|
||||
pub published_time_text: Option<String>,
|
||||
/// Contains `No views` if the view count is zero
|
||||
#[serde_as(as = "Option<Text>")]
|
||||
pub view_count_text: Option<String>,
|
||||
/// Badges are displayed on the video thumbnail and
|
||||
|
|
|
|||
Reference in a new issue