Last active
April 29, 2023 13:56
-
-
Save Enigo/0bd80bfa8d7551fb9f5018a087e47024 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[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