pub struct GetRandomManga {
pub includes: Vec<ReferenceExpansionResource>,
pub content_rating: Vec<ContentRating>,
pub included_tags: Vec<Uuid>,
pub included_tags_mode: Option<TagSearchMode>,
pub excluded_tags: Vec<Uuid>,
pub excluded_tags_mode: Option<TagSearchMode>,
/* private fields */
}
Fields§
§includes: Vec<ReferenceExpansionResource>
§content_rating: Vec<ContentRating>
Ensure the returned Manga is one of the given content ratings.
If this is not set, the default ratings MangaDex will use are: - safe - suggestive - erotica
Implementations§
Trait Implementations§
Source§impl Clone for GetRandomManga
impl Clone for GetRandomManga
Source§fn clone(&self) -> GetRandomManga
fn clone(&self) -> GetRandomManga
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetRandomManga
impl Debug for GetRandomManga
Auto Trait Implementations§
impl Freeze for GetRandomManga
impl !RefUnwindSafe for GetRandomManga
impl !Send for GetRandomManga
impl !Sync for GetRandomManga
impl Unpin for GetRandomManga
impl !UnwindSafe for GetRandomManga
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more