rsreddit 0.1.3

Lightweight Reddit API wrapper
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};
use serde_json::Value;

#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct CommentResponse {
    pub json: Option<ErrorResponse>,
}

#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct ErrorResponse {
    pub errors: Vec<Vec<String>>,
}