src/global/common/exposed/channel/comments.rs

84c4617332578aaf4e9ee68a0a2d7d6258e48243
youtube-tui/src/global/common/exposed/channel/comments.rs history · blame · raw

12 lines · 333 bytes

1 symbol in this file
 1use crate::global::common::hidden::*;
 2use serde::{Deserialize, Serialize};
 3
 4#[derive(Serialize, Deserialize, Debug, Clone)]
 5pub struct ChannelComments {
 6    #[serde(rename = "authorId")]
 7    pub author_id: String,
 8    pub comments: Vec<Comment>,
 9    #[serde(default)]
10    pub content: String,
11    pub continuation: Option<String>,
12}