pub struct BookManifest {
pub book: String,
pub title: String,
pub summary: String,
pub order: i64,
pub chapters: Vec<String>,
}Expand description
Parsed book.toml.
Fields§
§book: StringOwning lib id.
title: StringHuman title.
summary: StringOne-line summary (may be empty).
order: i64Sort key among books.
chapters: Vec<String>Explicit chapter order by directory name (may be empty).
Trait Implementations§
Source§impl Clone for BookManifest
impl Clone for BookManifest
Source§fn clone(&self) -> BookManifest
fn clone(&self) -> BookManifest
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 BookManifest
impl Debug for BookManifest
impl Eq for BookManifest
Source§impl PartialEq for BookManifest
impl PartialEq for BookManifest
Source§fn eq(&self, other: &BookManifest) -> bool
fn eq(&self, other: &BookManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BookManifest
Auto Trait Implementations§
impl Freeze for BookManifest
impl RefUnwindSafe for BookManifest
impl Send for BookManifest
impl Sync for BookManifest
impl Unpin for BookManifest
impl UnsafeUnpin for BookManifest
impl UnwindSafe for BookManifest
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