Struct mangadex_api::v5::scanlation_group::ScanlationGroupBuilder
source · [−]pub struct ScanlationGroupBuilder {
http_client: HttpClientRef,
}
Expand description
Scanlation group endpoint handler builder.
Fields
http_client: HttpClientRef
Implementations
sourceimpl ScanlationGroupBuilder
impl ScanlationGroupBuilder
sourcepub fn list(&self) -> ListGroupBuilder<'_>
pub fn list(&self) -> ListGroupBuilder<'_>
Search a list of scanlation groups.
https://api.mangadex.org/swagger.html#/ScanlationGroup/get-search-group
sourcepub fn search(&self) -> ListGroupBuilder<'_>
pub fn search(&self) -> ListGroupBuilder<'_>
Search a list of scanlation groups.
https://api.mangadex.org/swagger.html#/ScanlationGroup/get-search-group
This is an alias for the Self::list()
function.
sourcepub fn get(&self) -> GetGroupBuilder<'_>
pub fn get(&self) -> GetGroupBuilder<'_>
View a single scanlation group.
https://api.mangadex.org/swagger.html#/ScanlationGroup/get-group-id
sourcepub fn view(&self) -> GetGroupBuilder<'_>
pub fn view(&self) -> GetGroupBuilder<'_>
View a single scanlation group.
https://api.mangadex.org/swagger.html#/ScanlationGroup/get-group-id
This is an alias for Self::get()
to maintain backwards-compatibility.
sourcepub fn create(&self) -> CreateGroupBuilder<'_>
pub fn create(&self) -> CreateGroupBuilder<'_>
Create a new scanlation group.
https://api.mangadex.org/swagger.html#/ScanlationGroup/post-group
sourcepub fn update(&self) -> UpdateGroupBuilder<'_>
pub fn update(&self) -> UpdateGroupBuilder<'_>
Update a scanlation group.
https://api.mangadex.org/swagger.html#/ScanlationGroup/put-group-id
sourcepub fn delete(&self) -> DeleteGroupBuilder<'_>
pub fn delete(&self) -> DeleteGroupBuilder<'_>
Delete a scanlation group.
https://api.mangadex.org/swagger.html#/ScanlationGroup/delete-group-id
sourcepub fn follow(&self) -> FollowGroupBuilder<'_>
pub fn follow(&self) -> FollowGroupBuilder<'_>
Follow a scanlation group.
https://api.mangadex.org/swagger.html#/ScanlationGroup/post-group-id-follow
sourcepub fn unfollow(&self) -> UnfollowGroupBuilder<'_>
pub fn unfollow(&self) -> UnfollowGroupBuilder<'_>
Unfollow a scanlation group.
https://api.mangadex.org/swagger.html#/ScanlationGroup/delete-group-id-follow
sourcepub fn get_followed(&self) -> FollowedGroupsBuilder
pub fn get_followed(&self) -> FollowedGroupsBuilder
Get the followed scanlation groups for the logged-in user.
https://api.mangadex.org/swagger.html#/ScanlationGroup/get-user-follows-group
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ScanlationGroupBuilder
impl Send for ScanlationGroupBuilder
impl Sync for ScanlationGroupBuilder
impl Unpin for ScanlationGroupBuilder
impl !UnwindSafe for ScanlationGroupBuilder
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