Expand description
Builder for the chapter delete endpoint.
https://api.mangadex.org/swagger.html#/Chapter/delete-chapter-id
Examples
use uuid::Uuid;
use mangadex_api::v5::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 chapter_id = Uuid::new_v4();
let res = client
.chapter()
.delete()
.chapter_id(&chapter_id)
.build()?
.send()
.await?;
println!("delete: {:?}", res);
Structs
Builder for DeleteChapter
.
Enums
Error type for DeleteChapterBuilder