Skip to content

Instantly share code, notes, and snippets.

@Enigo
Last active April 29, 2023 13:56
Show Gist options
  • Save Enigo/0bd80bfa8d7551fb9f5018a087e47024 to your computer and use it in GitHub Desktop.
Save Enigo/0bd80bfa8d7551fb9f5018a087e47024 to your computer and use it in GitHub Desktop.
#[derive(Deserialize, Debug)]
pub struct Token {
pub status: String,
pub result: Option<Vec<TheResult>>,
}
#[derive(Deserialize, Debug)]
pub struct TheResult {
pub hash: String,
pub value: String,
#[serde(rename = "tokenSymbol")]
pub token_symbol: String,
#[serde(rename = "tokenDecimal")]
pub token_decimal: String,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment