mangadex_api::v5::manga::id::status

Module post

Source
Expand description

Builder for the update manga reading status endpoint.

https://api.mangadex.org/docs/swagger.html#/Manga/post-manga-id-status

§Examples

use uuid::Uuid;

use mangadex_api_types::ReadingStatus;
use mangadex_api::v5::MangaDexClient;

let client = MangaDexClient::default();

let manga_id = Uuid::new_v4();
let res = client
    .manga()
    .id(manga_id)
    .status()
    .post()
    .status(Some(ReadingStatus::Reading))
    .send()
    .await?;

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

Structs§