Module mangadex_api::v5::report::list_reports_by_user
source · [−]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, ReportStatus};
use mangadex_api::v5::MangaDexClient;
let client = MangaDexClient::default();
let res = client
.report()
.list_reports_by_user()
.category(ReportCategory::Manga)
.build()?
.send()
.await?;
println!("reports: {:?}", res);
Structs
Enums
Error type for ListReportsByUserBuilder