summaryrefslogtreecommitdiffstats
path: root/src/comment.rs
blob: 77b0fc0bfe2f0ff94cce80a8f5adb0707814c97a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
pub struct Comment {
    /// id of the comment in the thread
    id: Option<usize>,
    /// text of the comment
    text: String,
    /// thread comment is in
    thread: usize,
    /// comments that are mentioned by the comment
    in_reply_to: Vec<usize>,
    /// comments that mention the comment
    mentioned_by: Vec<usize>,
}