mangadex_api::v5::user::follows::list

Module get

Source
Expand description

Builder for fetching the logged-in user’s followed custom lists.

https://api.mangadex.org/docs/swagger.html#/Follows/get-user-follows-list

§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()
    .follows()
    .list()
    .get()        
    .limit(1_u32)
    .send()
    .await?;

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

Structs§