pub struct LiteraryChapter {
pub work_id: String,
pub chapter_number: i64,
pub title: Option<String>,
pub content: String,
pub word_count: Option<i64>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Fields§
§work_id: String§chapter_number: i64§title: Option<String>§content: String§word_count: Option<i64>§created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for LiteraryChapter
impl Clone for LiteraryChapter
Source§fn clone(&self) -> LiteraryChapter
fn clone(&self) -> LiteraryChapter
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 LiteraryChapter
impl Debug for LiteraryChapter
Source§impl Default for LiteraryChapter
impl Default for LiteraryChapter
Source§fn default() -> LiteraryChapter
fn default() -> LiteraryChapter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LiteraryChapter
impl<'de> Deserialize<'de> for LiteraryChapter
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LiteraryChapter
impl RefUnwindSafe for LiteraryChapter
impl Send for LiteraryChapter
impl Sync for LiteraryChapter
impl Unpin for LiteraryChapter
impl UnsafeUnpin for LiteraryChapter
impl UnwindSafe for LiteraryChapter
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