VM4ZH5WDVH6LR4ZEZFQB2MOHNLC6A7RFSXRZWM3MRU6ISH33KJBAC
fn print_transaction_metadata(&mut self, metadata: &TransactionMetadata) -> Result<()> {
let TransactionMetadata {
key_value, links, ..
} = metadata;
for link in links {
write!(self.inner, "\n {link}")?;
}
for (key, value) in key_value {
write!(self.inner, "\n {key}: {value}")?;
}
Ok(())
}