Struct mdblog::Settings
[−]
[src]
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
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 Debug for Settings
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Settings
[src]
fn clone(&self) -> Settings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Settings
[src]
impl Source for Settings
[src]
fn clone_into_box(&self) -> Box<Source + Send + Sync>
[src]
fn collect(&self) -> Result<HashMap<String, Value>, ConfigError>
[src]
Collect all configuration properties available from this source and return a HashMap. Read more