helium-api 3.3.1

An async library for the Helium blockchain REST API
Documentation
1
2
3
4
5
6
7
8
9
use crate::models::Usd;
use serde::{Deserialize, Serialize};

#[derive(Clone, Serialize, Deserialize, Debug)]
pub struct GenPriceOracleV1 {
    pub hash: String,
    #[serde(deserialize_with = "Usd::deserialize")]
    pub price: Usd,
}