Struct mangadex_api::v5::custom_list::CustomListBuilder
source · [−]pub struct CustomListBuilder {
http_client: HttpClientRef,
}
Expand description
CustomList endpoint handler builder.
Fields
http_client: HttpClientRef
Implementations
sourceimpl CustomListBuilder
impl CustomListBuilder
sourcepub fn create(&self) -> CreateCustomListBuilder<'_>
pub fn create(&self) -> CreateCustomListBuilder<'_>
Create a custom list.
sourcepub fn get(&self) -> GetCustomListBuilder<'_>
pub fn get(&self) -> GetCustomListBuilder<'_>
Get a custom list.
https://api.mangadex.org/swagger.html#/CustomList/get-list-id
sourcepub fn update(&self) -> UpdateCustomListBuilder<'_>
pub fn update(&self) -> UpdateCustomListBuilder<'_>
Update a custom list.
https://api.mangadex.org/swagger.html#/CustomList/put-list-id
sourcepub fn delete(&self) -> DeleteCustomListBuilder<'_>
pub fn delete(&self) -> DeleteCustomListBuilder<'_>
Delete a custom list.
https://api.mangadex.org/swagger.html#/CustomList/delete-list-id
sourcepub fn my_custom_lists(&self) -> MyCustomListsBuilder
pub fn my_custom_lists(&self) -> MyCustomListsBuilder
Get the custom lists for the logged-in user.
This will fetch public and private lists.
https://api.mangadex.org/swagger.html#/CustomList/get-user-list
sourcepub fn user_custom_lists(&self) -> UserCustomListsBuilder<'_>
pub fn user_custom_lists(&self) -> UserCustomListsBuilder<'_>
Get the public custom lists for a given user.
https://api.mangadex.org/swagger.html#/CustomList/get-user-id-list
Private lists are not included.
sourcepub fn manga_feed(&self) -> CustomListMangaFeedBuilder<'_>
pub fn manga_feed(&self) -> CustomListMangaFeedBuilder<'_>
Get the manga feed for a given custom list.
https://api.mangadex.org/swagger.html#/CustomList/get-list-id-feed
sourcepub fn add_manga(&self) -> AddMangaToCustomListBuilder<'_>
pub fn add_manga(&self) -> AddMangaToCustomListBuilder<'_>
Add manga to a custom list.
https://api.mangadex.org/swagger.html#/CustomList/post-manga-id-list-listId
sourcepub fn remove_manga(&self) -> RemoveMangaFromCustomListBuilder<'_>
pub fn remove_manga(&self) -> RemoveMangaFromCustomListBuilder<'_>
Remove manga from a custom list.
https://api.mangadex.org/swagger.html#/CustomList/delete-manga-id-list-listId
sourcepub fn follow(&self) -> FollowCustomListBuilder
pub fn follow(&self) -> FollowCustomListBuilder
Follow a custom list for the current user.
https://api.mangadex.org/swagger.html#/CustomList/follow-list-id
sourcepub fn unfollow(&self) -> UnfollowCustomListBuilder
pub fn unfollow(&self) -> UnfollowCustomListBuilder
Unfollow a custom list for the current user.
https://api.mangadex.org/swagger.html#/CustomList/unfollow-list-id
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CustomListBuilder
impl Send for CustomListBuilder
impl Sync for CustomListBuilder
impl Unpin for CustomListBuilder
impl !UnwindSafe for CustomListBuilder
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