pub struct ChapterManifest {
pub title: Option<String>,
pub order: Option<i64>,
pub summary: String,
}Expand description
Parsed chapter.toml (every field optional).
Fields§
§title: Option<String>Overriding chapter title.
order: Option<i64>Overriding sort key.
summary: StringOne-line summary (may be empty).
Trait Implementations§
Source§impl Clone for ChapterManifest
impl Clone for ChapterManifest
Source§fn clone(&self) -> ChapterManifest
fn clone(&self) -> ChapterManifest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChapterManifest
impl Debug for ChapterManifest
Source§impl Default for ChapterManifest
impl Default for ChapterManifest
Source§fn default() -> ChapterManifest
fn default() -> ChapterManifest
Returns the “default value” for a type. Read more
impl Eq for ChapterManifest
Source§impl PartialEq for ChapterManifest
impl PartialEq for ChapterManifest
Source§fn eq(&self, other: &ChapterManifest) -> bool
fn eq(&self, other: &ChapterManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChapterManifest
Auto Trait Implementations§
impl Freeze for ChapterManifest
impl RefUnwindSafe for ChapterManifest
impl Send for ChapterManifest
impl Sync for ChapterManifest
impl Unpin for ChapterManifest
impl UnsafeUnpin for ChapterManifest
impl UnwindSafe for ChapterManifest
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