Struct helianto::Settings
[−]
[src]
pub struct Settings { pub source_dir: PathBuf, pub output_dir: PathBuf, pub layouts_dir: PathBuf, pub max_depth: usize, pub follow_links: bool, pub site_title: String, pub site_url: String, pub site_language: Option<String>, }
Fields
source_dir: PathBuf
output_dir: PathBuf
layouts_dir: PathBuf
max_depth: usize
follow_links: bool
site_title: String
site_url: String
site_language: Option<String>
Methods
impl Settings
[src]
fn with_working_directory(cwd: &Path) -> Settings
fn from_file<P: AsRef<Path>>(path: &P) -> Result<Self>
Trait Implementations
impl Clone for Settings
[src]
fn clone(&self) -> Settings
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more