rustgecko 0.3.4

A Simple SDK for Coingecko API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

///
/// The Symbol is provided in lowercase letters
///
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct CoinListing {
    pub id: String,
    pub symbol: String,
    pub name: String,
    pub platforms: Option<HashMap<String, Option<String>>>,
}

pub type ContractAddress = String;