Module mangadex_api::v5::user::is_following_manga
source · [−]Expand description
Builder for checking if the logged-in user follows a manga.
https://api.mangadex.org/swagger.html#/Follows/get-user-follows-manga-id
Examples
use uuid::Uuid;
use mangadex_api::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 manga_id = Uuid::new_v4();
let res = client
.user()
.is_following_manga()
.manga_id(&manga_id)
.build()?
.send()
.await?;
println!("check: {:?}", res);
Structs
Check if the logged-in user follows a manga.
Builder for IsFollowingManga
.
Enums
Error type for IsFollowingMangaBuilder