pub struct ListMangaBuilder {Show 24 fields
limit: Option<Option<u32>>,
offset: Option<Option<u32>>,
title: Option<Option<String>>,
author_or_artist: Option<Option<Uuid>>,
authors: Option<Vec<Uuid>>,
artists: Option<Vec<Uuid>>,
year: Option<Option<u16>>,
included_tags: Option<Vec<Uuid>>,
included_tags_mode: Option<Option<TagSearchMode>>,
excluded_tags: Option<Vec<Uuid>>,
excluded_tags_mode: Option<Option<TagSearchMode>>,
status: Option<Vec<MangaStatus>>,
original_language: Option<Vec<Language>>,
excluded_original_language: Option<Vec<Language>>,
available_translated_language: Option<Vec<Language>>,
publication_demographic: Option<Vec<Demographic>>,
manga_ids: Option<Vec<Uuid>>,
content_rating: Option<Vec<ContentRating>>,
created_at_since: Option<Option<MangaDexDateTime>>,
updated_at_since: Option<Option<MangaDexDateTime>>,
order: Option<Option<MangaSortOrder>>,
includes: Option<Vec<ReferenceExpansionResource>>,
has_available_chapters: Option<Option<bool>>,
group: Option<Option<Uuid>>,
/* private fields */
}
Expand description
Builder for ListManga
.
Fields§
§limit: Option<Option<u32>>
§offset: Option<Option<u32>>
§title: Option<Option<String>>
§artists: Option<Vec<Uuid>>
§year: Option<Option<u16>>
§status: Option<Vec<MangaStatus>>
§original_language: Option<Vec<Language>>
Languages the manga results are originally published in.
excluded_original_language: Option<Vec<Language>>
A list of original languages to exclude.
available_translated_language: Option<Vec<Language>>
A list of languages that the manga is translated into.
publication_demographic: Option<Vec<Demographic>>
§manga_ids: Option<Vec<Uuid>>
§content_rating: Option<Vec<ContentRating>>
§created_at_since: Option<Option<MangaDexDateTime>>
DateTime string with following format: YYYY-MM-DDTHH:MM:SS
.
updated_at_since: Option<Option<MangaDexDateTime>>
DateTime string with following format: YYYY-MM-DDTHH:MM:SS
.
order: Option<Option<MangaSortOrder>>
§includes: Option<Vec<ReferenceExpansionResource>>
§has_available_chapters: Option<Option<bool>>
§group: Option<Option<Uuid>>
Scanlation group ID.
Implementations§
Source§impl ListMangaBuilder
impl ListMangaBuilder
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn title<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn artists<VALUE: Into<Vec<Uuid>>>(&mut self, value: VALUE) -> &mut Self
pub fn add_artist<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn year<VALUE: Into<u16>>(&mut self, value: VALUE) -> &mut Self
pub fn include_tag<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn exclude_tag<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn status<VALUE: Into<Vec<MangaStatus>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn add_status<VALUE>(&mut self, item: VALUE) -> &mut Self
Sourcepub fn original_language<VALUE: Into<Vec<Language>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn original_language<VALUE: Into<Vec<Language>>>( &mut self, value: VALUE, ) -> &mut Self
Languages the manga results are originally published in.
Sourcepub fn add_original_language<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn add_original_language<VALUE>(&mut self, item: VALUE) -> &mut Self
Languages the manga results are originally published in.
Sourcepub fn excluded_original_language<VALUE: Into<Vec<Language>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn excluded_original_language<VALUE: Into<Vec<Language>>>( &mut self, value: VALUE, ) -> &mut Self
A list of original languages to exclude.
Sourcepub fn exclude_original_language<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn exclude_original_language<VALUE>(&mut self, item: VALUE) -> &mut Self
A list of original languages to exclude.
Sourcepub fn available_translated_language<VALUE: Into<Vec<Language>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn available_translated_language<VALUE: Into<Vec<Language>>>( &mut self, value: VALUE, ) -> &mut Self
A list of languages that the manga is translated into.
Sourcepub fn add_available_translated_language<VALUE>(
&mut self,
item: VALUE,
) -> &mut Self
pub fn add_available_translated_language<VALUE>( &mut self, item: VALUE, ) -> &mut Self
A list of languages that the manga is translated into.
pub fn publication_demographic<VALUE: Into<Vec<Demographic>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn add_publication_demographic<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn manga_ids<VALUE: Into<Vec<Uuid>>>(&mut self, value: VALUE) -> &mut Self
pub fn add_manga_id<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn content_rating<VALUE: Into<Vec<ContentRating>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn add_content_rating<VALUE>(&mut self, item: VALUE) -> &mut Self
Sourcepub fn created_at_since<VALUE: Into<MangaDexDateTime>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn created_at_since<VALUE: Into<MangaDexDateTime>>( &mut self, value: VALUE, ) -> &mut Self
DateTime string with following format: YYYY-MM-DDTHH:MM:SS
.
Sourcepub fn updated_at_since<VALUE: Into<MangaDexDateTime>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn updated_at_since<VALUE: Into<MangaDexDateTime>>( &mut self, value: VALUE, ) -> &mut Self
DateTime string with following format: YYYY-MM-DDTHH:MM:SS
.
pub fn order<VALUE: Into<MangaSortOrder>>(&mut self, value: VALUE) -> &mut Self
pub fn includes<VALUE: Into<Vec<ReferenceExpansionResource>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn include<VALUE>(&mut self, item: VALUE) -> &mut Self
pub fn has_available_chapters<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<ListManga, BuilderError>
pub fn build(&self) -> Result<ListManga, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl ListMangaBuilder
impl ListMangaBuilder
pub async fn send(&self) -> MangaListResponse
Trait Implementations§
Source§impl Clone for ListMangaBuilder
impl Clone for ListMangaBuilder
Source§fn clone(&self) -> ListMangaBuilder
fn clone(&self) -> ListMangaBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more