Struct mdblog::PostHeaders [] [src]

pub struct PostHeaders {
    pub created: DateTime<Local>,
    pub hidden: Option<bool>,
    pub tags: Vec<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

post tags, tags: [hello, world]

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