pub struct UpdateManga {Show 18 fields
pub manga_id: Uuid,
pub title: Option<LocalizedString>,
pub alt_titles: Option<Vec<LocalizedString>>,
pub description: Option<LocalizedString>,
pub authors: Option<Vec<Uuid>>,
pub artists: Option<Vec<Uuid>>,
pub links: Option<MangaLinks>,
pub original_language: Option<Language>,
pub last_volume: Option<Option<String>>,
pub last_chapter: Option<Option<String>>,
pub publication_demographic: Option<Option<Demographic>>,
pub status: Option<MangaStatus>,
pub year: Option<Option<u16>>,
pub content_rating: Option<ContentRating>,
pub chapter_numbers_reset_on_new_volume: bool,
pub tags: Option<Vec<Uuid>>,
pub primary_cover: Option<Option<Uuid>>,
pub version: u32,
/* private fields */
}
Expand description
Update a manga’s information.
All fields that are not changing should still have the field populated with the old information
so that it is not set as null
on the server.
Fields§
§manga_id: Uuid
§title: Option<LocalizedString>
§alt_titles: Option<Vec<LocalizedString>>
§description: Option<LocalizedString>
§artists: Option<Vec<Uuid>>
§links: Option<MangaLinks>
§original_language: Option<Language>
§last_volume: Option<Option<String>>
§last_chapter: Option<Option<String>>
§publication_demographic: Option<Option<Demographic>>
§status: Option<MangaStatus>
§year: Option<Option<u16>>
Year the manga was released.
content_rating: Option<ContentRating>
§chapter_numbers_reset_on_new_volume: bool
§primary_cover: Option<Option<Uuid>>
§version: u32
= 1
Implementations§
Trait Implementations§
Source§impl Clone for UpdateManga
impl Clone for UpdateManga
Source§fn clone(&self) -> UpdateManga
fn clone(&self) -> UpdateManga
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 UpdateManga
impl Debug for UpdateManga
Auto Trait Implementations§
impl Freeze for UpdateManga
impl !RefUnwindSafe for UpdateManga
impl !Send for UpdateManga
impl !Sync for UpdateManga
impl Unpin for UpdateManga
impl !UnwindSafe for UpdateManga
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