Struct mdbook::config::BookConfig [−][src]
pub struct BookConfig { pub title: Option<String>, pub authors: Vec<String>, pub description: Option<String>, pub src: PathBuf, pub multilingual: bool, pub language: Option<String>, }
Expand description
Configuration options which are specific to the book and required for loading it from disk.
Fields
title: Option<String>
The book’s title.
The book’s authors.
description: Option<String>
An optional description for the book.
src: PathBuf
Location of the book source relative to the book’s root directory.
multilingual: bool
Does this book support more than one language?
language: Option<String>
The main language of the book.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BookConfig
impl Send for BookConfig
impl Sync for BookConfig
impl Unpin for BookConfig
impl UnwindSafe for BookConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V