Expand description

Builder for completing the account recovery process.

https://api.mangadex.org/swagger.html#/Account/post-account-recover-code

Examples

use mangadex_api::MangaDexClient;
use mangadex_api::types::Password;

let client = MangaDexClient::default();

let account_complete_recovery_res = client
    .account()
    .complete_recovery()
    .code("abc123")
    .new_password(Password::parse("hunter23")?)
    .build()?
    .send()
    .await?;

println!("account recovery: {:?}", account_complete_recovery_res);

Structs

Enums

Error type for CompleteAccountRecoveryBuilder