pub struct Post {
pub data: GetPostPost,
pub date: String,
pub preview_img: String,
pub reading_time: usize,
pub id: String,
pub gists: Option<Vec<(String, GistContent)>>,
pub paragraphs: Vec<String>,
}
Fields§
§data: GetPostPost
§date: String
§preview_img: String
§reading_time: usize
§id: String
§gists: Option<Vec<(String, GistContent)>>
§paragraphs: Vec<String>
Trait Implementations§
source§impl TemplateOnce for Post
impl TemplateOnce for Post
source§fn render_once(self) -> RenderResult
fn render_once(self) -> RenderResult
Render the template and return the rendering result as
RenderResult
Read more