Struct mangadex_api::v5::chapter::ChapterBuilder
source · [−]pub struct ChapterBuilder {
http_client: HttpClientRef,
}
Expand description
Chapter endpoint handler builder.
Fields
http_client: HttpClientRef
Implementations
sourceimpl ChapterBuilder
impl ChapterBuilder
sourcepub fn list(&self) -> ListChapterBuilder<'_>
pub fn list(&self) -> ListChapterBuilder<'_>
Search a list of chapters.
sourcepub fn search(&self) -> ListChapterBuilder<'_>
pub fn search(&self) -> ListChapterBuilder<'_>
Search a list of chapters.
https://api.mangadex.org/swagger.html#/Chapter/get-chapter
This is an alias for the Self::list()
function.
sourcepub fn get(&self) -> GetChapterBuilder<'_>
pub fn get(&self) -> GetChapterBuilder<'_>
View a single chapter.
https://api.mangadex.org/swagger.html#/Chapter/get-chapter-id
sourcepub fn view(&self) -> GetChapterBuilder<'_>
pub fn view(&self) -> GetChapterBuilder<'_>
View a single chapter.
https://api.mangadex.org/swagger.html#/Chapter/get-chapter-id
This is an alias for Self::get()
to maintain backwards-compatibility.
sourcepub fn update(&self) -> UpdateChapterBuilder<'_>
pub fn update(&self) -> UpdateChapterBuilder<'_>
Update a chapter.
https://api.mangadex.org/swagger.html#/Chapter/put-chapter-id
sourcepub fn delete(&self) -> DeleteChapterBuilder<'_>
pub fn delete(&self) -> DeleteChapterBuilder<'_>
Delete a chapter.
https://api.mangadex.org/swagger.html#/Chapter/delete-chapter-id
sourcepub fn mark_batch(&self) -> MarkChapterBatchBuilder<'_>
pub fn mark_batch(&self) -> MarkChapterBatchBuilder<'_>
Mark multiple chapters for one manga as read and/or unread.
https://api.mangadex.org/swagger.html#/Chapter/post-manga-chapter-readmarkers
sourcepub fn mark_read(&self) -> MarkChapterReadBuilder<'_>
pub fn mark_read(&self) -> MarkChapterReadBuilder<'_>
Mark a chapter as read for the current user.
https://api.mangadex.org/swagger.html#/Chapter/chapter-id-read
sourcepub fn mark_unread(&self) -> MarkChapterUnreadBuilder<'_>
pub fn mark_unread(&self) -> MarkChapterUnreadBuilder<'_>
Mark a chapter as unread for the current user.
https://api.mangadex.org/swagger.html#/Chapter/chapter-id-unread
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
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ChapterBuilder
impl Send for ChapterBuilder
impl Sync for ChapterBuilder
impl Unpin for ChapterBuilder
impl !UnwindSafe for ChapterBuilder
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