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