Struct mdblog::PostHeaders [] [src]

pub struct PostHeaders {
    pub created: DateTime<Local>,
    pub hidden: bool,
    pub tags: Vec<String>,
    pub description: String,
}

blog post headers

the blog post headers is parsed using yaml format.

Fields

post created local time, created: 1970-01-01T00:00:00+08:00

post hidden flag, hidden: true, default false

post tags, tags: [hello, world], default []

post description

Trait Implementations

impl Debug for PostHeaders
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for PostHeaders
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PostHeaders

impl Sync for PostHeaders