guilded_model 0.1.0-dev.24

Guilded API models for the Guilded-rs ecosystem of crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

use crate::datetime::Timestamp;
use crate::id::{
    marker::{EmoteMarker, ForumTopicMarker, MessageMarker, UserMarker},
    Id,
};

/// Represents a forum topic reaction object.
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct ForumTopicReaction {
    pub channel_id: Id<ForumTopicMarker>,
    pub created_by: Id<UserMarker>,
    pub emote_id: Id<EmoteMarker>,
    pub forum_topic_id: Id<ForumTopicMarker>,
}