Expand description
Builder for the chapter mark read endpoint.
https://api.mangadex.org/swagger.html#/Chapter/chapter-id-read
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 chapter_id = Uuid::new_v4();
let chapter_read_res = client
.chapter()
.mark_read()
.chapter_id(&chapter_id)
.build()?
.send()
.await?;
println!("chapter read: {:?}", chapter_read_res);
Structs
Mark a chapter as read for the current user.
Builder for MarkChapterRead
.
Enums
Error type for MarkChapterReadBuilder