MCPcopy Create free account
hub / github.com/PacktPublishing/Rust-for-Blockchain-Application-Development / Opt

Class Opt

chapter 5/main.rs:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#[derive(Debug, StructOpt)]
13#[structopt(name = "blockchain_rust")]
14struct Opt {
15 #[structopt(subcommand)]
16 command: Command,
17}
18
19#[derive(StructOpt, Debug)]
20enum Command {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected