natter/src/context/timestamp.rs

17 lines
362 B
Rust
Raw Normal View History

2023-10-27 21:48:19 +00:00
use serde::Serialize;
use super::render_context::RenderContext;
2023-10-27 21:48:19 +00:00
use crate::error::CustomError;
use crate::intermediate::ITimestamp;
use super::macros::rnoop;
2023-10-27 21:48:19 +00:00
#[derive(Debug, Serialize)]
#[serde(tag = "type")]
#[serde(rename = "timestamp")]
2023-12-21 19:56:58 +00:00
pub(crate) struct RenderTimestamp {
post_blank: organic::types::PostBlank,
}
2023-10-27 21:48:19 +00:00
rnoop!(RenderTimestamp, ITimestamp);