Expand description

Builder for the user list endpoint.

Authentication is required. This can be done by logging in.

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

Examples

use mangadex_api::types::MangaStatus;
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 users_res = client
    .user()
    .list()
    .username("holo")
    .build()?
    .send()
    .await?;

println!("users: {:?}", users_res);

Structs

Enums

Error type for ListUserBuilder