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.

Enums

Error type for ApproveUserDeletionBuilder