Expand description
An implementation/analogue of E926’s JSON replies
The api module and all it’s submodule provides structs that implements
Serde’s Deserialize trait.
What this means in less technical jargon, is that when you want to turn json acquired from requesting to E926 into legible rust form, you use the descendants of this module specifically.
It is not recommended to use api objects directly for most high-level purposes,
instead, refer to Client
Structs§
- Alternates
- Favorites
- Flags
- Analogue to
"flags": {...}JSON object - Note
- Analogue to
/notes/<id>.json - Pool
- Analogue to
/pools/<id>.json - Post
- Post
File - Post
Flag - Analogue to
/post_flags/<id>.json - Post
Preview - Post
Relations - Analogue to
"relationships": {...}JSON object - Post
Sample - Score
- Analogue to
"score": {...}JSON object - Search
Notes - Search
Pools - Search
Post Flags - Search
Posts - Search
TagAliases - Search
Tags - TagAlias
Query - TagQuery
- Tags
Enums§
- Category
- Extension
- Kind
- Page
Search Type - Post
Flag Type - Post
Wrapper - Analogue to
/posts/<id>.json - Rating
- Represents the rating of a
Post