use super::macros::intermediate; use super::IObject; use crate::error::CustomError; #[derive(Debug, Clone)] pub(crate) struct ITableCell { pub(crate) children: Vec, } intermediate!(ITableCell, TableCell, original, registry, { let children = { let mut ret = Vec::new(); for obj in original.children.iter() { ret.push(IObject::new(registry.clone(), obj).await?); } ret }; Ok(ITableCell { children }) });