src/global/common/exposed/channel/comments.rs
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}