reddit-rs 0.1.1

A wrapper around the Reddit API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use chrono::{DateTime, Utc};
use iri_string::types::IriString;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Deserialize, Serialize, PartialEq)]
pub struct Twitter {
    pub url: IriString,
    pub author_name: String,
    pub author_url: IriString,
    #[serde(with = "chrono::serde::ts_seconds")]
    pub cache_age: DateTime<Utc>,
}