Expand description
Builder for the report reasons list endpoint.
https://api.mangadex.org/swagger.html#/Report/get-report-reasons-by-category
Examples
use mangadex_api::types::ReportCategory;
use mangadex_api::v5::MangaDexClient;
let client = MangaDexClient::default();
// Known issue: Despite the MangaDex API documents stating that authorization is required,
// this endpoint is available to guests.
let res = client
.report()
.list()
.category(ReportCategory::Manga)
.build()?
.send()
.await?;
println!("report reasons: {:?}", res);
Structs
Builder for ListReasons
.
Enums
Error type for ListReasonsBuilder