Expand description
Builder for getting a list of Manga Drafts.
This endpoint requires authentication.
https://api.mangadex.org/docs/swagger.html#/Manga/get-manga-drafts
§Examples
use mangadex_api_types::{MangaState, MangaStatus};
use mangadex_api::v5::MangaDexClient;
// use mangadex_api_types::{Password, Username};
let client = MangaDexClient::default();
/*
let _login_res = client
.auth()
.login()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.build()?
.send()
.await?;
*/
let manga_res = client
.manga()
.draft()
.get()
.state(MangaState::Draft)
.send()
.await?;
println!("manga: {:?}", manga_res);
Structs§
- Builder for
ListMangaDrafts
.