[][src]Struct blarf::Config

pub struct Config<'a> {
    pub articles_dir: &'a Path,
    pub static_dir: &'a Option<&'a Path>,
    pub destination_dir: &'a Path,
    pub email: Option<&'a str>,
    pub css_path: Option<&'a Path>,
}

Configuration values for the exec function

Fields

articles_dir: &'a Path

directory holding markdown documents

static_dir: &'a Option<&'a Path>

directory holding static assets to be copied

destination_dir: &'a Path

output directory

email: Option<&'a str>

email address for contact link

css_path: Option<&'a Path>

stylesheet -- if none is supplied a default will be pulled in

Auto Trait Implementations

impl<'a> Send for Config<'a>

impl<'a> Sync for Config<'a>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]