Skip to content

Commit

Permalink
Add camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed May 21, 2020
1 parent 468e06b commit c20ca6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/src/cli_output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@ impl fmt::Display for CliSignOnlyData {
}

#[derive(Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CliSignature {
pub signature: String,
}
Expand All @@ -913,6 +914,7 @@ impl fmt::Display for CliSignature {
}

#[derive(Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CliAccountBalances {
pub accounts: Vec<RpcAccountBalance>,
}
Expand All @@ -937,6 +939,7 @@ impl fmt::Display for CliAccountBalances {
}

#[derive(Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CliSupply {
pub total: u64,
pub circulating: u64,
Expand Down

0 comments on commit c20ca6f

Please sign in to comment.