Self::Traits(traits) => traits.run(), Self::Wallet(wallet) => wallet.run(options), } } } #[derive(Serialize, Deserialize)] pub struct Empty {} pub(crate) trait Output: Send { fn print_json(&self); } impl<T> Output for T where T: Serialize + Send, { fn print_json(&self) { serde_json::to_writer_pretty(io::stdout(), self).ok(); println!(); } } pub(crate) type SubcommandResult = Result<Box<dyn Output>>;
Inscription number 44,981,485
Genesis block 819,057
File type text
File size 441 b
Creation date Nov 30,2023 1:16 am