Struct mangadex_api::v5::cover::CoverBuilder
source · [−]pub struct CoverBuilder {
http_client: HttpClientRef,
}
Expand description
Cover art endpoint handler builder.
Fields
http_client: HttpClientRef
Implementations
sourceimpl CoverBuilder
impl CoverBuilder
sourcepub fn list(&self) -> ListCoverBuilder
pub fn list(&self) -> ListCoverBuilder
Search a list of cover art.
sourcepub fn search(&self) -> ListCoverBuilder
pub fn search(&self) -> ListCoverBuilder
Search a list of cover art.
https://api.mangadex.org/swagger.html#/Cover/get-cover
This is an alias for the Self::list()
function.
sourcepub fn get(&self) -> GetCoverBuilder<'_>
pub fn get(&self) -> GetCoverBuilder<'_>
View a single cover.
sourcepub fn view(&self) -> GetCoverBuilder<'_>
pub fn view(&self) -> GetCoverBuilder<'_>
View a single cover.
https://api.mangadex.org/swagger.html#/Cover/get-cover-id
This is an alias for Self::get()
to maintain backwards-compatibility.
sourcepub fn edit(&self) -> EditCoverBuilder<'_>
pub fn edit(&self) -> EditCoverBuilder<'_>
Edit a cover.
sourcepub fn delete(&self) -> DeleteCoverBuilder<'_>
pub fn delete(&self) -> DeleteCoverBuilder<'_>
Delete a cover.
sourcepub fn upload(&self) -> UploadCoverBuilder<'_>
pub fn upload(&self) -> UploadCoverBuilder<'_>
Upload a cover.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CoverBuilder
impl Send for CoverBuilder
impl Sync for CoverBuilder
impl Unpin for CoverBuilder
impl !UnwindSafe for CoverBuilder
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