f3-rs/src/reaction.rs

15 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,
}