Struct cobalt::legacy_model::GlobalConfig
[−]
[src]
pub struct GlobalConfig { pub root: PathBuf, pub source: String, pub dest: String, pub drafts: String, pub include_drafts: bool, pub posts: String, pub post_path: Option<String>, pub post_order: String, pub template_extensions: Vec<String>, pub rss: Option<String>, pub jsonfeed: Option<String>, pub name: Option<String>, pub description: Option<String>, pub link: Option<String>, pub ignore: Vec<String>, pub excerpt_separator: String, pub syntax_highlight: SyntaxHighlight, pub sass: SassBuilder, }
Fields
root: PathBuf
source: String
dest: String
drafts: String
include_drafts: bool
posts: String
post_path: Option<String>
post_order: String
template_extensions: Vec<String>
rss: Option<String>
jsonfeed: Option<String>
name: Option<String>
description: Option<String>
link: Option<String>
ignore: Vec<String>
excerpt_separator: String
syntax_highlight: SyntaxHighlight
sass: SassBuilder
Methods
impl GlobalConfig
[src]
fn from_file<P: Into<PathBuf>>(path: P) -> Result<GlobalConfig>
[src]
fn from_cwd<P: Into<PathBuf>>(cwd: P) -> Result<GlobalConfig>
[src]
Trait Implementations
impl Debug for GlobalConfig
[src]
impl PartialEq for GlobalConfig
[src]
fn eq(&self, __arg_0: &GlobalConfig) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GlobalConfig) -> bool
[src]
This method tests for !=
.
impl Default for GlobalConfig
[src]
fn default() -> GlobalConfig
[src]
Returns the "default value" for a type. Read more