roux 2.2.15

Simple and (a)synchronous Reddit API wrapper
Documentation
//! # Inbox Responses
use serde::Deserialize;

use crate::models::response::BasicListing;

/// InboxItem
#[derive(Debug, Deserialize)]
pub struct InboxData {
    /// ID
    pub id: String,
    /// Subject
    pub subject: String,
    /// Was comment
    pub was_comment: bool,
    /// Author
    pub author: Option<String>,
    /// Parent ID
    pub parent_id: Option<String>,
    /// Sub name
    pub subreddit_name_prefixed: Option<String>,
    /// New
    pub new: bool,
    /// ???
    pub r#type: String,
    /// Body
    pub body: String,
    /// Dest
    pub dest: String,
    /// Body HTML
    pub body_html: String,
    /// Name
    pub name: String,
    /// Created
    pub created: f64,
    /// Created (UTC)
    pub created_utc: f64,
    /// Context
    pub context: String,
}

/// Inbox
pub type Inbox = BasicListing<InboxData>;