Module mangadex_api::v5::manga::list_relations
source · [−]Expand description
Builder for fetching a Manga’s relations.
This fetches the related Manga for the specified Manga such as spin-offs, doujinshis, and more.
https://api.mangadex.org/swagger.html#/Manga/get-manga-relation
Examples
use uuid::Uuid;
use mangadex_api::v5::MangaDexClient;
let client = MangaDexClient::default();
let manga_id = Uuid::new_v4();
let res = client
.manga()
.list_relations()
.manga_id(&manga_id)
.build()?
.send()
.await?;
println!("manga relation list: {:?}", res);
Structs
Enums
Error type for ListMangaRelationsBuilder