[][src]Struct bloguen::ops::BlogueDescriptorIndex

pub struct BlogueDescriptorIndex {
    pub header_file: (String, PathBuf),
    pub center_file: (String, PathBuf),
    pub footer_file: (String, PathBuf),
    pub center_order: CenterOrder,
    pub styles: Vec<StyleElement>,
    pub scripts: Vec<ScriptElement>,
    pub data: BTreeMap<String, String>,
}

Metadata pertaining specifically to generating an index file.

Fields

header_file: (String, PathBuf)

Data to put start index HTML with, templated.

Default: "$ROOT/index_header.html", then "$ROOT/index_header.htm", then "$ROOT/idx_header.html", then "$ROOT/idx_header.htm".

center_file: (String, PathBuf)

Data to put in index HTML for each post, templated.

Default: "$ROOT/index_center.html", then "$ROOT/index_center.htm", then "$ROOT/idx_center.html", then "$ROOT/idx_center.htm".

footer_file: (String, PathBuf)

Data to put to end index HTML with, templated.

Default: "$ROOT/index_footer.html", then "$ROOT/index_footer.htm", then "$ROOT/idx_footer.html", then "$ROOT/idx_footer.htm".

center_order: CenterOrder

The order to put center templates in.

If not present, defaults to forward.

styles: Vec<StyleElement>

A set of style descriptors.

If not present, defaults to empty.

scripts: Vec<ScriptElement>

A set of style descriptors.

If not present, defaults to empty.

data: BTreeMap<String, String>

Additional static data to substitute in header and footer.

If not present, defaults to empty.

Trait Implementations

impl Eq for BlogueDescriptorIndex[src]

impl Clone for BlogueDescriptorIndex[src]

impl PartialOrd<BlogueDescriptorIndex> for BlogueDescriptorIndex[src]

impl PartialEq<BlogueDescriptorIndex> for BlogueDescriptorIndex[src]

impl Ord for BlogueDescriptorIndex[src]

impl Hash for BlogueDescriptorIndex[src]

impl Debug for BlogueDescriptorIndex[src]

Auto Trait Implementations

impl Send for BlogueDescriptorIndex

impl Unpin for BlogueDescriptorIndex

impl Sync for BlogueDescriptorIndex

impl UnwindSafe for BlogueDescriptorIndex

impl RefUnwindSafe for BlogueDescriptorIndex

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]