Module mangadex_api::v5::account::complete_recovery
source · [−]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
Complete an account recovery.
Enums
Error type for CompleteAccountRecoveryBuilder