Module mangadex_api::v5::user::is_following_custom_list
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()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.build()?
.send()
.await?;
let custom_list_id = Uuid::new_v4();
let res = client
.user()
.is_following_custom_list()
.list_id(&custom_list_id)
.build()?
.send()
.await?;
println!("check: {:?}", res);
Structs
Check if the logged-in user follows a custom list.
Builder for IsFollowingCustomList
.
Enums
Error type for IsFollowingCustomListBuilder