Module mangadex_api::v5::scanlation_group::update
source · [−]Expand description
Builder for the scanlation group update endpoint.
https://api.mangadex.org/swagger.html#/ScanlationGroup/put-group-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 group_id = Uuid::new_v4();
let res = client
.scanlation_group()
.update()
.group_id(&group_id)
.version(2_u32)
.build()?
.send()
.await?;
println!("update: {:?}", res);
Structs
Builder for UpdateGroup
.
Enums
Error type for UpdateGroupBuilder