Closed evgenyigumnov closed 4 months ago
pub trait TransformerTrait { fn parse(document: &Bytes, images: &HashMap<String, Bytes>) -> anyhow::Result<Document>; fn generate(document: &Document) -> anyhow::Result<(Bytes, HashMap<String, Bytes>)>; }
Look at json module like example
Look at json module like example