#[non_exhaustive]pub struct ChapterDraft {
pub volume: Option<String>,
pub chapter: Option<String>,
pub title: Option<String>,
pub translated_language: Language,
pub external_url: Option<Url>,
pub publish_at: Option<MangaDexDateTime>,
}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.volume: Option<String>Nullable
chapter: Option<String>Nullable
title: Option<String>Nullable
translated_language: Language§external_url: Option<Url>Must be a URL with “http(s)://”.
Nullable
publish_at: Option<MangaDexDateTime>Trait Implementations§
Source§impl Clone for ChapterDraft
impl Clone for ChapterDraft
Source§fn clone(&self) -> ChapterDraft
fn clone(&self) -> ChapterDraft
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 ChapterDraft
impl Debug for ChapterDraft
Auto Trait Implementations§
impl Freeze for ChapterDraft
impl RefUnwindSafe for ChapterDraft
impl Send for ChapterDraft
impl Sync for ChapterDraft
impl Unpin for ChapterDraft
impl UnwindSafe for ChapterDraft
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