Struct mangadex_api::v5::author::AuthorBuilder
source · [−]pub struct AuthorBuilder {
http_client: HttpClientRef,
}
Expand description
Author endpoint handler builder.
Fields
http_client: HttpClientRef
Implementations
sourceimpl AuthorBuilder
impl AuthorBuilder
sourcepub fn list(&self) -> ListAuthorBuilder<'_>
pub fn list(&self) -> ListAuthorBuilder<'_>
Search for authors.
sourcepub fn search(&self) -> ListAuthorBuilder<'_>
pub fn search(&self) -> ListAuthorBuilder<'_>
Search for authors.
https://api.mangadex.org/swagger.html#/Author/get-author
This is an alias for the Self::list()
function.
sourcepub fn get(&self) -> GetAuthorBuilder<'_>
pub fn get(&self) -> GetAuthorBuilder<'_>
View a single author.
sourcepub fn view(&self) -> GetAuthorBuilder<'_>
pub fn view(&self) -> GetAuthorBuilder<'_>
View a single author.
https://api.mangadex.org/swagger.html#/Author/get-author-id
This is an alias for Self::get()
to maintain backwards-compatibility.
sourcepub fn create(&self) -> CreateAuthorBuilder<'_>
pub fn create(&self) -> CreateAuthorBuilder<'_>
Create an author.
sourcepub fn update(&self) -> UpdateAuthorBuilder<'_>
pub fn update(&self) -> UpdateAuthorBuilder<'_>
Update an author.
sourcepub fn delete(&self) -> DeleteAuthorBuilder<'_>
pub fn delete(&self) -> DeleteAuthorBuilder<'_>
Delete an author.
https://api.mangadex.org/swagger.html#/Author/delete-author-id
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AuthorBuilder
impl Send for AuthorBuilder
impl Sync for AuthorBuilder
impl Unpin for AuthorBuilder
impl !UnwindSafe for AuthorBuilder
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