Expand description
Builder for getting a specific Manga Draft.
This endpoint requires authentication.
This endpoint is largely identical to the Manga Get endpoint except that this fetches Manga that is not in the “published” state.
https://api.mangadex.org/swagger.html#/Manga/get-manga-id-draft
Examples
use uuid::Uuid;
use mangadex_api::MangaDexClient;
use mangadex_api::types::{Password, Username};
let client = MangaDexClient::default();
let _login_res = client
.auth()
.login()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.build()?
.send()
.await?;
let manga_id = Uuid::new_v4();
let manga_res = client
.manga()
.get_draft()
.manga_id(&manga_id)
.build()?
.send()
.await?;
println!("manga draft view: {:?}", manga_res);
Structs
Builder for GetMangaDraft
.
Enums
Error type for GetMangaDraftBuilder