Expand description
A cache of the entire board.
The Board
is a comprehensive collection of all threads and posts on a board.
Please rely on updating individual Thread
s you do not need all posts from a thread.
Time
Due to API constraints, a board is built rather slowly.
It is recommended to update a board in intervals of no less than than 10 minutes.
Example: Building a board and updating it
let client = Client::new();
// Building the /g/ board
let board = Board::build(&client, "g").await?;
/* Do something with the board */
// After a long interval, we update it.
let g = board.update().await?;
println!("{:#?}", g);
Structs
Holds an abstraction over HashMap<u32, Thread>
.