Expand description
§wallhaven-rs
wallhaven-rs is a wallhaven api wrapper.
The entry point of everything is WallhavenClient.
Re-exports§
pub use mime;
Structs§
- Avatar
- The avatar url of someone who uploaded a wallpaper, in different resolutions.
- Categories
- Categories to filter the wallpapers by
- Collection
Items Request - The collection items request object.
- Collection
Items Request Builder - Use builder syntax to set the inputs and finish with
build(). - Meta
- Meta informations for the search results, used mostly to continue the search
- Purities
- Purities (the level of lewdiness) to filter by
- Search
Request - The search request object.
- Search
Request Builder - Use builder syntax to set the inputs and finish with
build_internal(). - Search
Result - Search results, see properties for more information
- Tag
- A tag to represent a wallpaper, which is itself categorized into categories
- TagQuery
- A struct representing a tag query
- Thumbnails
- The thumbnail of a wallpaper, in different sizes
- Uploader
- The uploader of a wallpaper.
- User
Collection - An user’s collection of wallpapers
- User
Settings - Represents user settings, mostly the default search settings
- Wallhaven
Client - A wallhaven api client.
- Wallpaper
Details - The main character on wallhaven x)
- Wallpaper
Summary - This struct represents a wallpaper returned in the paginated search,
which is more lightweight than a
WallpaperDetails
Enums§
- Aspect
Ratio - An aspect ratio to filter by.
- Color
- Colors you can filter by.
- Color
Parse Error - Used only by
models::enums::color::Colorto parseFromStr - Error
- Possible errors inside the
wallhaven-rscrate - File
Type - Wallhaven file types
- Query
- The tag query information
- Resolution
- Resolutions you can filter by.
- Search
Query Item - A single search query item
- Sorting
Order - The sorting order.
- Sorting
Type - The property to sort by.
- Thumbnail
Resolution - The wallpaper’s thumbnail resolution
- Toplist
Range - The time span for the toplist.
- User
Group - The group the user belongs to, for example
User,Moderator…