Browse Source

client: Added Debug derive macro (#1142)

utx0 3 years ago
parent
commit
c0a0ce2857
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/src/lib.rs

+ 2 - 0
client/src/lib.rs

@@ -69,6 +69,7 @@ impl Client {
 }
 
 // Internal configuration for a client.
+#[derive(Debug)]
 struct Config {
     cluster: Cluster,
     payer: Keypair,
@@ -76,6 +77,7 @@ struct Config {
 }
 
 /// Program is the primary client handle to be used to build and send requests.
+#[derive(Debug)]
 pub struct Program {
     program_id: Pubkey,
     cfg: Config,