natter/src/context/center_block.rs

17 lines
373 B
Rust
Raw Permalink Normal View History

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