[][src]Struct mdblog::Settings

pub struct Settings {
    pub site_url: String,
    pub site_name: String,
    pub site_motto: String,
    pub footer_note: String,
    pub media_dir: String,
    pub build_dir: String,
    pub theme: String,
    pub theme_root_dir: String,
    pub rebuild_interval: u8,
    pub posts_per_page: usize,
}

blog setting

Fields

site_url: String

blog base url

site_name: String

blog site name

site_motto: String

blog site motto

footer_note: String

blog footer note

media_dir: String

blog media directory

build_dir: String

blog build root directory

theme: String

blog theme name

theme_root_dir: String

blog theme root directory

rebuild_interval: u8

blog rebuild interval

posts_per_page: usize

post count per index page

Trait Implementations

impl Clone for Settings[src]

impl Debug for Settings[src]

impl Default for Settings[src]

impl<'de> Deserialize<'de> for Settings[src]

impl Serialize for Settings[src]

impl Source for Settings[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, I> AsResult<T, I> for T where
    I: Input, 

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: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> IntoCollection<T> for T

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<T> Typeable for T where
    T: Any

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