Expand description
Builder for checking if the logged-in user follows a manga.
https://api.mangadex.org/docs/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()
.post()
.username(Username::parse("myusername")?)
.password(Password::parse("hunter23")?)
.send()
.await?;
*/
let manga_id = Uuid::new_v4();
let res = client
.user()
.follows()
.manga()
.id(manga_id)
.get()
.send()
.await?;
println!("check: {:?}", res);
Structs§
- Check if the logged-in user follows a manga.
- Builder for
IsFollowingManga
.