Module mangadex_api::v5::user::approve_deletion
source · [−]Expand description
Builder for the account-activation endpoint.
https://api.mangadex.org/swagger.html#/User/get-account-activate-code
Examples
use uuid::Uuid;
use mangadex_api::v5::MangaDexClient;
let client = MangaDexClient::default();
let code = Uuid::new_v4();
let res = client
.user()
.approve_deletion()
.code(&code)
.build()?
.send()
.await?;
println!("deletion approval: {:?}", res);
Structs
Approve the deletion of a user.
Builder for ApproveUserDeletion
.
Enums
Error type for ApproveUserDeletionBuilder