Expand description

Holds an information of a single post

Some of the fields here are optional

Posts are usually used in crate::thread::Threads which is why they do not have a new() but they do have an Default implementation.

4chan API:

///.json files are a representation of a single OP and all the replies, which form a thread.

use dot4ch::post::Post;

let z = Post::default();

println!("{}", z.id());

assert_eq!(z.id(), 0);

Structs

The Post represents a derserialized post from a thread.