mangadex_api::v5::report

Module get

Source
Expand description

Builder for the report reasons list endpoint.

https://api.mangadex.org/docs/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()
    .get()
    .category(ReportCategory::Manga)
    .send()
    .await?;

println!("reports: {:?}", res);

Structs§