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

Module get

Source
Expand description

Builder for checking if the logged-in user follows a custom list.

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

§Examples

use uuid::Uuid;

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

let client = MangaDexClient::default();

/*

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

 */

let custom_list_id = Uuid::new_v4();

let res = client
    .user()
    .follows()
    .list()
    .id(custom_list_id)
    .get()
    .send()
    .await?;

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

Structs§