rchan 0.4.0

4chan api wrapper and client.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde_derive::Deserialize;

use crate::thread::ThreadInfo;

#[derive(Debug, Clone, Deserialize)]
pub struct Catalog(pub Vec<Page>);

#[derive(Debug, Clone, Deserialize)]
pub struct Page {
	/// The number of the page.
	pub page: i32,
	/// The list of threads in this page.
	pub threads: Vec<ThreadInfo>,
}