#[non_exhaustive]pub struct UpdateChapter {
pub chapter_id: Uuid,
pub title: Option<String>,
pub volume: Option<String>,
pub chapter: Option<Option<String>>,
pub translated_language: Option<Language>,
pub groups: Option<Vec<Uuid>>,
pub version: u32,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.chapter_id: Uuid§title: Option<String><= 255 characters in length.
Nullable.
volume: Option<String>Volume number.
Nullable.
chapter: Option<Option<String>>Chapter number.
<= 8 characters in length.
Nullable.
translated_language: Option<Language>§groups: Option<Vec<Uuid>>§version: u32= 1
Implementations§
Source§impl UpdateChapter
impl UpdateChapter
Sourcepub async fn send(&self) -> Result<Limited<ChapterData>>
pub async fn send(&self) -> Result<Limited<ChapterData>>
Send the request.
Trait Implementations§
Source§impl Clone for UpdateChapter
impl Clone for UpdateChapter
Source§fn clone(&self) -> UpdateChapter
fn clone(&self) -> UpdateChapter
Returns a duplicate 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 UpdateChapter
impl Debug for UpdateChapter
Auto Trait Implementations§
impl Freeze for UpdateChapter
impl !RefUnwindSafe for UpdateChapter
impl Send for UpdateChapter
impl Sync for UpdateChapter
impl Unpin for UpdateChapter
impl UnsafeUnpin for UpdateChapter
impl !UnwindSafe for UpdateChapter
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