Struct mangadex_api::v5::chapter::list::ListChapter
source · [−]#[non_exhaustive]pub struct ListChapter<'a> {Show 21 fields
pub limit: Option<u32>,
pub offset: Option<u32>,
pub chapter_ids: Vec<&'a Uuid>,
pub title: Option<&'a str>,
pub groups: Vec<&'a Uuid>,
pub uploaders: Vec<&'a Uuid>,
pub manga_id: Option<&'a Uuid>,
pub volumes: Vec<String>,
pub chapters: Vec<String>,
pub translated_languages: Vec<Language>,
pub original_languages: Vec<Language>,
pub excluded_original_languages: Vec<Language>,
pub content_rating: Vec<ContentRating>,
pub excluded_groups: Vec<&'a Uuid>,
pub excluded_uploaders: Vec<&'a Uuid>,
pub include_future_updates: Option<IncludeFutureUpdates>,
pub created_at_since: Option<MangaDexDateTime>,
pub updated_at_since: Option<MangaDexDateTime>,
pub publish_at_since: Option<MangaDexDateTime>,
pub order: Option<ChapterSortOrder>,
pub includes: Vec<ReferenceExpansionResource>,
/* private fields */
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.limit: Option<u32>offset: Option<u32>chapter_ids: Vec<&'a Uuid>title: Option<&'a str>groups: Vec<&'a Uuid>uploaders: Vec<&'a Uuid>manga_id: Option<&'a Uuid>volumes: Vec<String>chapters: Vec<String>Chapter number in the series or volume.
translated_languages: Vec<Language>original_languages: Vec<Language>excluded_original_languages: Vec<Language>content_rating: Vec<ContentRating>excluded_groups: Vec<&'a Uuid>Groups to exclude from the results.
excluded_uploaders: Vec<&'a Uuid>Uploaders to exclude from the results.
include_future_updates: Option<IncludeFutureUpdates>Flag to include future chapter updates in the results.
Default: IncludeFutureUpdates::Include (1)
created_at_since: Option<MangaDexDateTime>DateTime string with following format: YYYY-MM-DDTHH:MM:SS.
updated_at_since: Option<MangaDexDateTime>DateTime string with following format: YYYY-MM-DDTHH:MM:SS.
publish_at_since: Option<MangaDexDateTime>DateTime string with following format: YYYY-MM-DDTHH:MM:SS.
order: Option<ChapterSortOrder>includes: Vec<ReferenceExpansionResource>Implementations
sourceimpl ListChapter<'_>
impl ListChapter<'_>
sourcepub async fn send(&self) -> ChapterListResponse
pub async fn send(&self) -> ChapterListResponse
Send the request.
Trait Implementations
sourceimpl<'a> Clone for ListChapter<'a>
impl<'a> Clone for ListChapter<'a>
sourcefn clone(&self) -> ListChapter<'a>
fn clone(&self) -> ListChapter<'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
sourceimpl<'a> Debug for ListChapter<'a>
impl<'a> Debug for ListChapter<'a>
sourceimpl<'a> Default for ListChapter<'a>
impl<'a> Default for ListChapter<'a>
sourcefn default() -> ListChapter<'a>
fn default() -> ListChapter<'a>
Returns the “default value” for a type. Read more
sourceimpl Endpoint for ListChapter<'_>
impl Endpoint for ListChapter<'_>
sourceimpl<'a> Serialize for ListChapter<'a>
impl<'a> Serialize for ListChapter<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ListChapter<'a>
impl<'a> Send for ListChapter<'a>
impl<'a> Sync for ListChapter<'a>
impl<'a> Unpin for ListChapter<'a>
impl<'a> !UnwindSafe for ListChapter<'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