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
created: DateTime<Local>
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 []
description: String
post description
Trait Implementations
impl Debug for PostHeaders
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PostHeaders
[src]
fn clone(&self) -> PostHeaders
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more