Module mangadex_api::v5::user::my_custom_lists
source · [−]Expand description
Builder for fetching the logged-in user’s custom lists.
https://api.mangadex.org/swagger.html#/CustomList/get-user-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()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.build()?
.send()
.await?;
let res = client
.user()
.my_custom_lists()
.limit(1_u32)
.build()?
.send()
.await?;
println!("custom lists: {:?}", res);
Structs
Builder for MyCustomLists
.
Enums
Error type for MyCustomListsBuilder