[][src]Struct mdbookshelf::config::BookRepoConfig

pub struct BookRepoConfig {
    pub title: Option<String>,
    pub folder: Option<PathBuf>,
    pub repo_url: String,
    pub url: String,
}

The configuration for a single book

Fields

title: Option<String>

The book's title.
If set, overwrites the value read from the book itself when generating the manifest.

folder: Option<PathBuf>

The book root directory.

repo_url: String

The git repository url.

url: String

The online rendered book url.

Trait Implementations

impl Clone for BookRepoConfig[src]

impl Debug for BookRepoConfig[src]

impl Default for BookRepoConfig[src]

impl<'de> Deserialize<'de> for BookRepoConfig where
    BookRepoConfig: Default
[src]

impl PartialEq<BookRepoConfig> for BookRepoConfig[src]

impl Serialize for BookRepoConfig[src]

impl StructuralPartialEq for BookRepoConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,