Expand description

Builder for the account-creation endpoint.

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

Examples

use mangadex_api::v5::{MangaDexClient};
use mangadex_api::types::{Password, Username};

let client = MangaDexClient::default();

let account_create_res = client
    .account()
    .create()
    .username(Username::parse("myusername")?)
    .password(Password::parse("hunter2")?)
    .email("test@example.com")
    .build()?
    .send()
    .await?;

println!("account create: {:?}", account_create_res);

Structs

Create a new account.

Enums

Error type for CreateAccountBuilder