Struct mdblog::Settings [] [src]

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

blog setting

Fields

blog theme name

blog site name

blog site motto

blog footer note

blog media directory

blog build root directory

blog theme root directory

blog rebuild interval

blog url prefix

post count per index page

Trait Implementations

impl Debug for Settings
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Settings
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Settings
[src]

[src]

Returns the "default value" for a type. Read more

impl Source for Settings
[src]

[src]

[src]

Collect all configuration properties available from this source and return a HashMap. Read more

[src]

Auto Trait Implementations

impl Send for Settings

impl Sync for Settings