Struct mangadex_api::v5::manga::feed::GetMangaFeed
source · [−]#[non_exhaustive]pub struct GetMangaFeed<'a> {Show 15 fields
pub manga_id: &'a Uuid,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub translated_language: Vec<Language>,
pub original_language: Vec<Language>,
pub excluded_original_language: 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<MangaFeedSortOrder>,
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.manga_id: &'a Uuid
limit: Option<u32>
offset: Option<u32>
translated_language: Vec<Language>
original_language: Vec<Language>
excluded_original_language: 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<MangaFeedSortOrder>
includes: Vec<ReferenceExpansionResource>
Implementations
sourceimpl GetMangaFeed<'_>
impl GetMangaFeed<'_>
sourcepub async fn send(&self) -> Result<ChapterListResponse>
pub async fn send(&self) -> Result<ChapterListResponse>
Send the request.
Trait Implementations
sourceimpl<'a> Clone for GetMangaFeed<'a>
impl<'a> Clone for GetMangaFeed<'a>
sourcefn clone(&self) -> GetMangaFeed<'a>
fn clone(&self) -> GetMangaFeed<'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 GetMangaFeed<'a>
impl<'a> Debug for GetMangaFeed<'a>
sourceimpl Endpoint for GetMangaFeed<'_>
impl Endpoint for GetMangaFeed<'_>
sourceimpl<'a> Serialize for GetMangaFeed<'a>
impl<'a> Serialize for GetMangaFeed<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for GetMangaFeed<'a>
impl<'a> Send for GetMangaFeed<'a>
impl<'a> Sync for GetMangaFeed<'a>
impl<'a> Unpin for GetMangaFeed<'a>
impl<'a> !UnwindSafe for GetMangaFeed<'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