Expand description
Holds an information of a single post
Some of the fields here are optional
Posts are usually used in crate::thread::Thread
s which is why they do not have a new()
but they do have an Default
implementation.
4chan API:
/
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.