Expand description
Builder for the author update endpoint.
https://api.mangadex.org/swagger.html#/Author/put-author-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 author_id = Uuid::new_v4();
let res = client
.author()
.update()
.author_id(&author_id)
.version(2u32)
.build()?
.send()
.await?;
println!("author update: {:?}", res);
Structs
Builder for UpdateAuthor
.
Enums
Error type for UpdateAuthorBuilder