Struct mangadex_api::v5::manga::MangaBuilder
source · [−]pub struct MangaBuilder {
http_client: HttpClientRef,
}
Expand description
Manga endpoint handler.
Fields
http_client: HttpClientRef
Implementations
sourceimpl MangaBuilder
impl MangaBuilder
sourcepub fn list(&self) -> ListMangaBuilder<'_>
pub fn list(&self) -> ListMangaBuilder<'_>
Search a list of Manga.
https://api.mangadex.org/swagger.html#/Manga/get-search-manga
sourcepub fn search(&self) -> ListMangaBuilder<'_>
pub fn search(&self) -> ListMangaBuilder<'_>
Search a list of Manga.
https://api.mangadex.org/swagger.html#/Manga/get-search-manga
This is an alias for the Self::list()
function.
sourcepub fn aggregate(&self) -> GetMangaAggregateBuilder<'_>
pub fn aggregate(&self) -> GetMangaAggregateBuilder<'_>
Get Manga volumes and chapters.
https://api.mangadex.org/swagger.html#/Manga/get_manga__id__aggregate
sourcepub fn get(&self) -> GetMangaBuilder<'_>
pub fn get(&self) -> GetMangaBuilder<'_>
View a single Manga.
sourcepub fn view(&self) -> GetMangaBuilder<'_>
pub fn view(&self) -> GetMangaBuilder<'_>
View a single Manga.
https://api.mangadex.org/swagger.html#/Manga/get-manga-id
This is an alias for Self::get()
to maintain backwards-compatibility.
sourcepub fn update(&self) -> UpdateMangaBuilder<'_>
pub fn update(&self) -> UpdateMangaBuilder<'_>
Update a manga.
sourcepub fn delete(&self) -> DeleteMangaBuilder<'_>
pub fn delete(&self) -> DeleteMangaBuilder<'_>
Delete a manga.
https://api.mangadex.org/swagger.html#/Manga/delete-manga-id
sourcepub fn add_to_custom_list(&self) -> AddMangaToCustomListBuilder<'_>
pub fn add_to_custom_list(&self) -> AddMangaToCustomListBuilder<'_>
Add manga to a custom list.
https://api.mangadex.org/swagger.html#/Manga/post-manga-id-list-listId
sourcepub fn remove_from_custom_list(&self) -> RemoveMangaFromCustomListBuilder<'_>
pub fn remove_from_custom_list(&self) -> RemoveMangaFromCustomListBuilder<'_>
Remove manga from a custom list.
https://api.mangadex.org/swagger.html#/Manga/delete-manga-id-list-listId
sourcepub fn followed_manga_feed(&self) -> GetFollowedMangaFeedBuilder<'_>
pub fn followed_manga_feed(&self) -> GetFollowedMangaFeedBuilder<'_>
Get the manga feed (chapter list) of manga the logged-in user follows.
https://api.mangadex.org/swagger.html#/Feed/get-user-follows-manga-feed
sourcepub fn follow(&self) -> FollowMangaBuilder<'_>
pub fn follow(&self) -> FollowMangaBuilder<'_>
Follow a manga for the logged-in user.
https://api.mangadex.org/swagger.html#/Manga/post-manga-id-follow
sourcepub fn unfollow(&self) -> UnfollowMangaBuilder<'_>
pub fn unfollow(&self) -> UnfollowMangaBuilder<'_>
Unfollow a manga for the logged-in user.
https://api.mangadex.org/swagger.html#/Manga/delete-manga-id-follow
sourcepub fn feed(&self) -> GetMangaFeedBuilder<'_>
pub fn feed(&self) -> GetMangaFeedBuilder<'_>
Get recent chapters for a Manga.
https://api.mangadex.org/swagger.html#/Manga/get-manga-id-feed
sourcepub fn random(&self) -> GetRandomMangaBuilder
pub fn random(&self) -> GetRandomMangaBuilder
Get a random manga, chosen by MangaDex.
https://api.mangadex.org/swagger.html#/Manga/get-manga-random
sourcepub fn create(&self) -> CreateMangaBuilder<'_>
pub fn create(&self) -> CreateMangaBuilder<'_>
Create a new manga.
sourcepub fn get_manga_read_chapters(&self) -> GetMangaReadChaptersBuilder<'_>
pub fn get_manga_read_chapters(&self) -> GetMangaReadChaptersBuilder<'_>
Get a list of chapter IDs that are marked as read for the specified manga.
https://api.mangadex.org/swagger.html#/Manga/get-manga-chapter-readmarkers
sourcepub fn get_read_chapters(&self) -> GetReadChaptersBuilder<'_>
pub fn get_read_chapters(&self) -> GetReadChaptersBuilder<'_>
Get a list of chapter IDs that are marked as read for the given manga IDs.
https://api.mangadex.org/swagger.html#/Manga/get-manga-chapter-readmarkers-2
List all of the available tags.
sourcepub fn reading_status(&self) -> MangaReadingStatusBuilder<'_>
pub fn reading_status(&self) -> MangaReadingStatusBuilder<'_>
Get the reading status for a given followed manga.
https://api.mangadex.org/swagger.html#/Manga/get-manga-id-status
sourcepub fn reading_statuses(&self) -> MangaReadingStatusesBuilder
pub fn reading_statuses(&self) -> MangaReadingStatusesBuilder
Get the reading statuses for all followed manga for the logged-in user.
https://api.mangadex.org/swagger.html#/Manga/get-manga-status
sourcepub fn update_reading_status(&self) -> UpdateMangaReadingStatusBuilder<'_>
pub fn update_reading_status(&self) -> UpdateMangaReadingStatusBuilder<'_>
Update the reading status for a manga.
Using a None
(null
) value in the status
field will remove the reading status.
https://api.mangadex.org/swagger.html#/Manga/post-manga-id-status
sourcepub fn get_draft(&self) -> GetMangaDraftBuilder<'_>
pub fn get_draft(&self) -> GetMangaDraftBuilder<'_>
Get a specific Manga Draft.
https://api.mangadex.org/swagger.html#/Manga/get-manga-id-draft
sourcepub fn submit_draft(&self) -> SubmitMangaDraftBuilder<'_>
pub fn submit_draft(&self) -> SubmitMangaDraftBuilder<'_>
Submit a Manga Draft.
A Manga Draft that is to be submitted must have at least one cover, must be in the “draft” state and must be passed the correct version in the request body.
https://api.mangadex.org/swagger.html#/Manga/commit-manga-draft
sourcepub fn list_drafts(&self) -> ListMangaDraftsBuilder<'_>
pub fn list_drafts(&self) -> ListMangaDraftsBuilder<'_>
Get a list of Manga Drafts.
https://api.mangadex.org/swagger.html#/Manga/get-manga-drafts
sourcepub fn search_drafts(&self) -> ListMangaDraftsBuilder<'_>
pub fn search_drafts(&self) -> ListMangaDraftsBuilder<'_>
Get a list of Manga Drafts.
This is an alias for the Self::list_drafts()
function.
https://api.mangadex.org/swagger.html#/Manga/get-manga-drafts
sourcepub fn list_relations(&self) -> ListMangaRelationsBuilder<'_>
pub fn list_relations(&self) -> ListMangaRelationsBuilder<'_>
Get a list of a Manga’s relations.
https://api.mangadex.org/swagger.html#/Manga/get-manga-relation
sourcepub fn create_relation(&self) -> CreateMangaRelationBuilder<'_>
pub fn create_relation(&self) -> CreateMangaRelationBuilder<'_>
Create a Manga relation.
https://api.mangadex.org/swagger.html#/Manga/post-manga-relation
sourcepub fn delete_relation(&self) -> DeleteMangaRelationBuilder<'_>
pub fn delete_relation(&self) -> DeleteMangaRelationBuilder<'_>
Delete a Manga relation.
https://api.mangadex.org/swagger.html#/Manga/delete-manga-relation-id
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MangaBuilder
impl Send for MangaBuilder
impl Sync for MangaBuilder
impl Unpin for MangaBuilder
impl !UnwindSafe for MangaBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more