Struct mangadex_api::v5::manga::list::ListMangaBuilder    
source · [−]pub struct ListMangaBuilder<'a> {Show 23 fields
    limit: Option<Option<u32>>,
    offset: Option<Option<u32>>,
    title: Option<Option<&'a str>>,
    authors: Option<Vec<Uuid>>,
    artists: Option<Vec<Uuid>>,
    year: Option<Option<u16>>,
    included_tags: Option<Vec<Tag>>,
    included_tags_mode: Option<Option<TagSearchMode>>,
    excluded_tags: Option<Vec<Tag>>,
    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<&'a str>>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
sourceimpl<'a> ListMangaBuilder<'a>
 
impl<'a> ListMangaBuilder<'a>
pub fn limit<VALUE: Into<u32>>(self, value: VALUE) -> Self
pub fn offset<VALUE: Into<u32>>(self, value: VALUE) -> Self
pub fn title<VALUE: Into<&'a str>>(self, value: VALUE) -> Self
pub fn artists<VALUE: Into<Vec<Uuid>>>(self, value: VALUE) -> Self
pub fn add_artist<VALUE>(self, item: VALUE) -> Self where
    Vec<Uuid>: Default + Extend<VALUE>, 
pub fn year<VALUE: Into<u16>>(self, value: VALUE) -> Self
pub fn include_tag<VALUE>(self, item: VALUE) -> Self where
    Vec<Tag>: Default + Extend<VALUE>, 
pub fn exclude_tag<VALUE>(self, item: VALUE) -> Self where
    Vec<Tag>: Default + Extend<VALUE>, 
pub fn status<VALUE: Into<Vec<MangaStatus>>>(self, value: VALUE) -> Self
pub fn add_status<VALUE>(self, item: VALUE) -> Self where
    Vec<MangaStatus>: Default + Extend<VALUE>, 
sourcepub fn original_language<VALUE: Into<Vec<Language>>>(self, value: VALUE) -> Self
 
pub fn original_language<VALUE: Into<Vec<Language>>>(self, value: VALUE) -> Self
Languages the manga results are originally published in.
sourcepub fn add_original_language<VALUE>(self, item: VALUE) -> Self where
    Vec<Language>: Default + Extend<VALUE>, 
 
pub fn add_original_language<VALUE>(self, item: VALUE) -> Self where
    Vec<Language>: Default + Extend<VALUE>, 
Languages the manga results are originally published in.
sourcepub fn excluded_original_language<VALUE: Into<Vec<Language>>>(
    self, 
    value: VALUE
) -> Self
 
pub fn excluded_original_language<VALUE: Into<Vec<Language>>>(
    self, 
    value: VALUE
) -> Self
A list of original languages to exclude.
sourcepub fn exclude_original_language<VALUE>(self, item: VALUE) -> Self where
    Vec<Language>: Default + Extend<VALUE>, 
 
pub fn exclude_original_language<VALUE>(self, item: VALUE) -> Self where
    Vec<Language>: Default + Extend<VALUE>, 
A list of original languages to exclude.
sourcepub fn available_translated_language<VALUE: Into<Vec<Language>>>(
    self, 
    value: VALUE
) -> Self
 
pub fn available_translated_language<VALUE: Into<Vec<Language>>>(
    self, 
    value: VALUE
) -> Self
A list of languages that the manga is translated into.
sourcepub fn add_available_translated_language<VALUE>(self, item: VALUE) -> Self where
    Vec<Language>: Default + Extend<VALUE>, 
 
pub fn add_available_translated_language<VALUE>(self, item: VALUE) -> Self where
    Vec<Language>: Default + Extend<VALUE>, 
A list of languages that the manga is translated into.
pub fn publication_demographic<VALUE: Into<Vec<Demographic>>>(
    self, 
    value: VALUE
) -> Self
pub fn add_publication_demographic<VALUE>(self, item: VALUE) -> Self where
    Vec<Demographic>: Default + Extend<VALUE>, 
pub fn manga_ids<VALUE: Into<Vec<Uuid>>>(self, value: VALUE) -> Self
pub fn add_manga_id<VALUE>(self, item: VALUE) -> Self where
    Vec<Uuid>: Default + Extend<VALUE>, 
pub fn content_rating<VALUE: Into<Vec<ContentRating>>>(
    self, 
    value: VALUE
) -> Self
pub fn add_content_rating<VALUE>(self, item: VALUE) -> Self where
    Vec<ContentRating>: Default + Extend<VALUE>, 
sourcepub fn created_at_since<VALUE: Into<MangaDexDateTime>>(
    self, 
    value: VALUE
) -> Self
 
pub fn created_at_since<VALUE: Into<MangaDexDateTime>>(
    self, 
    value: VALUE
) -> Self
DateTime string with following format: YYYY-MM-DDTHH:MM:SS.
sourcepub fn updated_at_since<VALUE: Into<MangaDexDateTime>>(
    self, 
    value: VALUE
) -> Self
 
pub fn updated_at_since<VALUE: Into<MangaDexDateTime>>(
    self, 
    value: VALUE
) -> Self
DateTime string with following format: YYYY-MM-DDTHH:MM:SS.
pub fn order<VALUE: Into<MangaSortOrder>>(self, value: VALUE) -> Self
pub fn includes<VALUE: Into<Vec<ReferenceExpansionResource>>>(
    self, 
    value: VALUE
) -> Self
pub fn include<VALUE>(self, item: VALUE) -> Self where
    Vec<ReferenceExpansionResource>: Default + Extend<VALUE>, 
pub fn has_available_chapters<VALUE: Into<bool>>(self, value: VALUE) -> Self
sourcepub fn build(self) -> Result<ListManga<'a>, ListMangaBuilderError>
 
pub fn build(self) -> Result<ListManga<'a>, ListMangaBuilderError>
sourcefn create_empty() -> Self
 
fn create_empty() -> Self
Create an empty builder, with all fields set to None or PhantomData.
Trait Implementations
sourceimpl<'a> Clone for ListMangaBuilder<'a>
 
impl<'a> Clone for ListMangaBuilder<'a>
sourcefn clone(&self) -> ListMangaBuilder<'a>
 
fn clone(&self) -> ListMangaBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ListMangaBuilder<'a>
impl<'a> Send for ListMangaBuilder<'a>
impl<'a> Sync for ListMangaBuilder<'a>
impl<'a> Unpin for ListMangaBuilder<'a>
impl<'a> !UnwindSafe for ListMangaBuilder<'a>
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> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
 
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
 
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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