mangadex_api::v5::user::list::default

Module get

Source
Expand description

Builder for fetching the logged-in user’s default custom list.

NOTICE: This endpoint is not deployed yet on Mangadex We’ll notice you when it’s deployed

§Examples

use uuid::Uuid;

use mangadex_api::v5::MangaDexClient;
// use mangadex_api_types::{Password, Username};

let client = MangaDexClient::default();

/*

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

 */

let res = client
    .user()
    .list()
    .default()
    .get()
    .send()
    .await?;

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

Structs§