use super::macros::intermediate; use super::registry::Registry; use crate::error::CustomError; #[derive(Debug, Clone)] pub(crate) struct IEntity { pub(crate) html: String, } intermediate!(IEntity, Entity, |registry, original| async { Ok(IEntity { html: original.html.to_owned(), }) });