f3-rs/src/reaction.rs
2023-01-02 17:13:50 +05:30

14 lines
388 B
Rust

use serde::{Deserialize, Serialize};
/// Reaction associated to an issue or a comment
#[derive(Clone, Debug, Serialize, Deserialize, Default)]
pub struct Reaction {
/// Unique identifier of the reaction
pub index: usize,
/// Unique identifier of the user who authored the reaction
pub user_id: String,
/// Representation of the reaction
pub content: String,
}