1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use crate::responses::{BasicThing, Listing};
use serde::Deserialize;

#[derive(Debug, Deserialize)]
pub struct ModeratorsData {
    /// The ID of the moderator
    pub id: String,
    /// The name of the moderator
    pub name: String,
    pub author_flair_text: Option<String>,
}

pub type Moderators = BasicThing<Listing<ModeratorsData>>;