Expand description

Builder for the logged-in user details endpoint.

https://api.mangadex.org/swagger.html#/User/get-user-me

Examples

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

let client = MangaDexClient::default();

let _login_res = client
    .auth()
    .login()
    .username(Username::parse("myusername")?)
    .password(Password::parse("hunter23")?)
    .build()?
    .send()
    .await?;

let res = client
    .user()
    .me()
    .build()?
    .send()
    .await?;

println!("me: {:?}", res);

Structs

Enums

Error type for GetMyUserDetailsBuilder