Skip to content

Instantly share code, notes, and snippets.

@Enigo
Created February 2, 2023 02:14
Show Gist options
  • Save Enigo/614ead5395f5466ac9fa327f63935af6 to your computer and use it in GitHub Desktop.
Save Enigo/614ead5395f5466ac9fa327f63935af6 to your computer and use it in GitHub Desktop.
#[derive(Deserialize, Debug)]
pub struct Asset {
pub result: Vec<TheResult>,
pub cursor: String,
}
#[derive(Deserialize, Debug)]
pub struct TheResult {
pub token_id: String,
pub token_address: String,
pub metadata: Metadata,
}
#[derive(Deserialize, Debug)]
pub struct Metadata {
pub name: String,
pub tier: i32,
pub solon: i32,
pub carbon: i32,
pub crypton: i32,
pub silicon: i32,
pub hydrogen: i32,
pub hyperion: i32,
pub landmark: String,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment